Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Fixes
---

- IECoreMaya.SceneShapeSubSceneOverride : Visibility override fixes (#1320).
- Removed SceneInterface visibility check, as it is now obsolete and causing issues.
- Check visibility for root locations, so bounds aren't incorrectly drawn.

10.4.3.0 (relative to 10.4.2.1)
========

Expand Down Expand Up @@ -135,6 +142,16 @@ Build

- Updated IE options file to support Nuke 13.x custom dependencies (#1263).

10.3.8.1 (relative to 10.3.8.0)
========

Fixes
---

- IECoreMaya.SceneShapeSubSceneOverride : Visibility override fixes (#1320).
- Removed SceneInterface visibility check, as it is now obsolete and causing issues.
- Check visibility for root locations, so bounds aren't incorrectly drawn.

10.3.8.0 (relative to 10.3.7.2)
========

Expand Down
14 changes: 4 additions & 10 deletions src/IECoreMaya/SceneShapeSubSceneOverride.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1418,16 +1418,6 @@ void SceneShapeSubSceneOverride::visitSceneLocations( const SceneInterface *scen
return;
}

// respect visibility attribute
if( sceneInterface->hasAttribute( SceneInterface::visibilityName ) )
{
ConstBoolDataPtr vis = runTimeCast<const BoolData>( sceneInterface->readAttribute( SceneInterface::visibilityName, m_time ) );
if( vis && !vis->readable() )
{
return;
}
}

MMatrix accumulatedMatrix;
if( !isRoot )
{
Expand Down Expand Up @@ -1473,6 +1463,10 @@ void SceneShapeSubSceneOverride::visitSceneLocations( const SceneInterface *scen
int count = 0;
for( const auto &instance : m_instances )
{
if ( !instance.visible )
{
continue;
}
std::string instanceName = rootItemName + "_" + std::to_string( count++ );
MString itemName( instanceName.c_str() );
MRenderItem *renderItem = acquireRenderItem( container, IECore::NullObject::defaultNullObject(), instance, relativeLocation, bound, itemName, RenderStyle::BoundingBox );
Expand Down