compose_character
Merge painted body and design layers into a composed character preview, required before building animations. Call after painting and shading, then ask the user if manual pixel edits are needed before proceeding to animation planning.
Instructions
Compose dressed rest = base body + design layers (required before anim).
Writes design/compose_preview.png. Uses DRAW_ORDER for body; each design export layer is inserted full after draw_after (no clip-to-body — overhang OK). GATE: call after painting layers (and preferably after plan_shading + shadow paint), BEFORE plan_animation. Soft gate: does not refuse when no shading plan exists. When design exists, build_frame_animation refuses without this compose preview — animation frames then rigid-rotate each design PNG 1:1 with its body part.
After this returns: HUMAN EDIT GATE — ask the user if they want manual pixel edits. If yes → open_pixel_editor → Apply → re-compose. If no → plan_animation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| scale | No | ||
| output_dir | No | ||
| include_skipped | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||