CloneAtOffset shares the Program instance for tiling performance, but rotating a part on the plate mutated the shared Program, causing all parts from the same tile template to rotate together. Added ownsProgram flag with EnsureOwnedProgram() that clones the Program before first mutation, preserving tiling performance while making user rotations independent. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
7.0 KiB
7.0 KiB