Skip to content

Commit 918de24

Browse files
committed
SceneShapeSubSceneOverride: Remove SceneInterface visibility check
In df78cb8 changes were made to the `LiveScene` implementation so that we take into account visibility overrides higher up the hierarchy. This makes the changes introduced in 07b40ee obsolete. In fact a `scene:visibility` value stored in the cache stomps over the visibility determination done by `LiveScene`.
1 parent 13082dc commit 918de24

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/IECoreMaya/SceneShapeSubSceneOverride.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,16 +1418,6 @@ void SceneShapeSubSceneOverride::visitSceneLocations( const SceneInterface *scen
14181418
return;
14191419
}
14201420

1421-
// respect visibility attribute
1422-
if( sceneInterface->hasAttribute( SceneInterface::visibilityName ) )
1423-
{
1424-
ConstBoolDataPtr vis = runTimeCast<const BoolData>( sceneInterface->readAttribute( SceneInterface::visibilityName, m_time ) );
1425-
if( vis && !vis->readable() )
1426-
{
1427-
return;
1428-
}
1429-
}
1430-
14311421
MMatrix accumulatedMatrix;
14321422
if( !isRoot )
14331423
{

0 commit comments

Comments
 (0)