ap_material_update
Recompiles the active material after node graph edits so it can be applied. Call once after a batch of node edits, then use fill layer or paint stroke to make the material update visible.
Instructions
Recompile the active material after node edits (script_material_update). THIS DOES NOT CHANGE THE VIEWPORT. ArmorPaint renders the layer stack, and the node graph is only the paint SOURCE — measured: viewport captures before and after a colour change plus ap_material_update are byte-identical. To make a graph edit visible you must apply it: ap_fill_layer (whole layer) or ap_paint_stroke / ap_paint_stroke_world (where you paint). Call this once after a batch of ap_node_* edits, then apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||