smoke_frame: a Grid placed for another size is removed after a resize
Builds: yes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
caa418d6cd
commit
aab6654cc1
1 changed files with 5 additions and 0 deletions
|
|
@ -309,6 +309,11 @@ def main():
|
|||
cell.occupied = False
|
||||
result, message = run(bpy.ops.aetheria.save_ship_layout)
|
||||
require(result == {"FINISHED"} and grid_faces() == faces - 1, "Toggling a cell and Save did not redraw the Grid")
|
||||
state.new_width = state.width + 1 # a layout resized after the grid was placed: the placement no longer fits it
|
||||
bpy.ops.aetheria.resize_ship_layout()
|
||||
result, message = run(bpy.ops.aetheria.save_ship_layout)
|
||||
require(result == {"FINISHED"} and bpy.data.objects.get("Grid") is None,
|
||||
"A Grid placed for another size is still drawn after the layout was resized")
|
||||
print("PASS 4 hardpoints and save ok")
|
||||
|
||||
# Pass 5: meshes outside Ship Root stop Flip Nose and Rasterise; parented, the flip moves the nub's cells.
|
||||
|
|
|
|||
Loading…
Reference in a new issue