Commit c1bfb88
fix(viewer): restore appearance-change dirty-mark in GeometrySystem
The biome --unsafe autofix stripped [shading, textures, colorPreset,
sceneTheme] from the mount effect's dep array, treating them as unused.
They are deliberate re-run TRIGGERS: the effect re-marks every
def.geometry node dirty whenever an appearance value changes, so the
builders re-run and pick up the new shading / textures / color preset /
scene theme. Without them, switching render mode, toggling textures, or
changing the preset no longer rebuilds existing registry-driven geometry.
All four are primitives (stable by value), so listing them is safe;
added a scoped biome-ignore so the trigger-only deps survive future
autofixes.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent a3b5e4d commit c1bfb88
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
67 | 75 | | |
68 | 76 | | |
69 | 77 | | |
| |||
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
75 | | - | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
| |||
0 commit comments