Repository navigation
Commit 444be6b
Fix show_ground toggle for ViewerRTX
The RTX viewer's render phase bypasses the _shape_instances loop that
drives _should_show_shape(), so plane visibility never updated when
show_ground was toggled.
Track _last_show_ground and push visibility updates for PLANE batches
into _pending_instance_visibility on change; end_frame() already flushes
these to OVRTX each frame.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent 54ef3a6 commit 444be6b
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1291 | 1291 | | |
1292 | 1292 | | |
1293 | 1293 | | |
| 1294 | + | |
| 1295 | + | |
1294 | 1296 | | |
1295 | 1297 | | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
1296 | 1303 | | |
1297 | 1304 | | |
1298 | 1305 | | |
| |||
2063 | 2070 | | |
2064 | 2071 | | |
2065 | 2072 | | |
| 2073 | + | |
2066 | 2074 | | |
2067 | 2075 | | |
2068 | 2076 | | |
| |||
0 commit comments