Fix composite node duplication placement (#542)
Route composite duplication through the fresh-subtree placement lifecycle, preserve descendant geometry and IDs, clear stale selection, and guarantee failed drafts restore history tracking.
This commit is contained in:
@@ -468,7 +468,7 @@ export const stairDefinition: NodeDefinition<typeof StairNode> = {
|
||||
const aabb = stairFootprintAABB(node as StairNodeType, nodes)
|
||||
return aabb ? { shape: 'aabb', ...aabb } : null
|
||||
},
|
||||
duplicable: true,
|
||||
duplicable: { subtree: true },
|
||||
deletable: true,
|
||||
floorPlaced: {
|
||||
footprints: (node, ctx) =>
|
||||
|
||||
Reference in New Issue
Block a user