Repository navigation
Commit 5a5b918
committed
Show only the product being oriented
The orient buttons rotated whichever product was active but left the
whole batch on screen, so you were turning something that sat in the
middle of everything else. Only Previous and Next hid anything, and only
once you had pressed one.
Rotating now isolates the active product as well, and does it before the
rotation rather than after, since the maths reads matrices off the
product and wants it in the view layer first.
Isolate Active Product controls this and defaults to on. It applies from
its update callback the moment it is ticked, so it does not sit there
looking enabled until the next button press. Show All now clears the
toggle as well as the state -- unhiding alone meant the next rotation
hid everything again, which reads as the button not working.
This is viewport state only. Render All already saves the exclude flags,
isolates each product in turn and restores them, so leaving isolation on
does not change what a batch renders.1 parent 3070b1f commit 5a5b918
2 files changed
Lines changed: 50 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
188 | 197 | | |
189 | 198 | | |
190 | 199 | | |
| |||
284 | 293 | | |
285 | 294 | | |
286 | 295 | | |
287 | | - | |
288 | | - | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
289 | 299 | | |
290 | 300 | | |
291 | 301 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
151 | 163 | | |
152 | 164 | | |
153 | 165 | | |
| |||
276 | 288 | | |
277 | 289 | | |
278 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
279 | 298 | | |
280 | 299 | | |
281 | 300 | | |
| |||
1430 | 1449 | | |
1431 | 1450 | | |
1432 | 1451 | | |
1433 | | - | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
1434 | 1460 | | |
1435 | 1461 | | |
1436 | 1462 | | |
| |||
1458 | 1484 | | |
1459 | 1485 | | |
1460 | 1486 | | |
1461 | | - | |
| 1487 | + | |
| 1488 | + | |
1462 | 1489 | | |
1463 | 1490 | | |
1464 | 1491 | | |
1465 | 1492 | | |
1466 | 1493 | | |
1467 | | - | |
| 1494 | + | |
1468 | 1495 | | |
1469 | 1496 | | |
1470 | 1497 | | |
| |||
1474 | 1501 | | |
1475 | 1502 | | |
1476 | 1503 | | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
1477 | 1507 | | |
1478 | 1508 | | |
1479 | 1509 | | |
| |||
1777 | 1807 | | |
1778 | 1808 | | |
1779 | 1809 | | |
| 1810 | + | |
1780 | 1811 | | |
1781 | 1812 | | |
1782 | 1813 | | |
| |||
0 commit comments