16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 03:09:18 +02:00
Files
maszyna/simulation/simulationstateserializer.cpp
maj00r c10fadbfc9 Reset transform stack before the visual load pass
Defensive fix: when starting the deferred visual pass, clear the origin/scale
stacks and rotation before the directives are replayed. A scenery that leaves an
unbalanced origin on the stack during the infrastructure pass would otherwise have
it applied a second time, shifting every deferred visual node. Balanced sceneries
(the common case) are unaffected -- the directives rebuild the same state.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 23:38:28 +02:00

50 KiB