alonso.torres 2a71cf0292 🐛 Place a reset nested copy where its main puts it
Reset syncs a copy head as the root of its own sync, and sync aligns the
main with that root, so the root keeps its position. That is right for a
top copy, whose position is its own. A nested head's placement inside its
parent belongs to the parent's main: resetting a moved nested head cleared
its geometry override and left it moved, untouched and different from its
main.

After the reset, place a nested head's subtree through a sync of the head
that owns its ref, taking only placement attributes. That sync reads the
loaded main, so it runs only when the reset clears a geometry override: a
head whose geometry was not overridden already holds the placement it
accepted, and placing it again gave a head whose only override was its
opacity a pending, unaccepted 45-degree turn of its library main.

Re-runs of the seed-20261101 library and library dependency properties
found both cases. The regressions fail before the fix and pass after it:
the head and its child return to their positions, undo restores the move,
and the pending turn stays out.

Compare lower-quantile milliseconds with the saved baseline; keep that
baseline unchanged. The machine/JVM warning makes ratios rough. No world
is flagged.

World                      Baseline       Now    Ratio
Main into 10 copies           1.790     0.996     0.56
Main into 100 copies         15.415     9.366     0.61
Main into 1000 copies       153.086    97.895     0.64
Three nesting levels         35.215    19.167     0.54
Dependency chain             68.931    38.467     0.56
Library update               83.083    46.702     0.56
Many plain shapes             4.837     3.332     0.69
Variant switch               32.052    22.433     0.70

AI-assisted-by: claude-opus-5-5
2026-11-18 10:29:45 +01:00
..
2022-11-08 13:02:14 +01:00