Commit 07b40ee
committed
IECoreMaya : Fixed erroneous display of hidden locations in VP2.
The VP2 scene traversal is depth first, and we were checking for visibility
overrides after the child traversal. So the child locations which have
scene:visible set to true, were being displayed and the location which had
an override was being hidden.
Now the check for a visibility override comes before the traversal, and the
child traversal is pruned if the location is invisible.1 parent 74d4979 commit 07b40ee
1 file changed
+10
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1404 | 1404 | | |
1405 | 1405 | | |
1406 | 1406 | | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
1407 | 1417 | | |
1408 | 1418 | | |
1409 | 1419 | | |
| |||
1430 | 1440 | | |
1431 | 1441 | | |
1432 | 1442 | | |
1433 | | - | |
1434 | 1443 | | |
1435 | 1444 | | |
1436 | 1445 | | |
| |||
1469 | 1478 | | |
1470 | 1479 | | |
1471 | 1480 | | |
1472 | | - | |
1473 | | - | |
1474 | | - | |
1475 | | - | |
1476 | | - | |
1477 | | - | |
1478 | | - | |
1479 | | - | |
1480 | | - | |
1481 | | - | |
1482 | 1481 | | |
1483 | 1482 | | |
1484 | 1483 | | |
| |||
0 commit comments