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
21 changes: 21 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
10.4.3.1 (relative to 10.4.3.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.
- VDBObject : Fixed infinite recursion in isEqualTo() (#1314).

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

Expand Down Expand Up @@ -135,6 +146,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
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ SConsignFile()
ieCoreMilestoneVersion = 10 # for announcing major milestones - may contain all of the below
ieCoreMajorVersion = 4 # backwards-incompatible changes
ieCoreMinorVersion = 3 # new backwards-compatible features
ieCorePatchVersion = 0 # bug fixes
ieCorePatchVersion = 1 # bug fixes
ieCoreVersionSuffix = "" # used for alpha/beta releases. Example: "a1", "b2", etc.

###########################################################################################
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
2 changes: 1 addition & 1 deletion src/IECoreVDB/VDBObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ IECore::CompoundObjectPtr VDBObject::metadata( const std::string &name )

bool VDBObject::isEqualTo( const IECore::Object *other ) const
{
if( !IECoreScene::VisibleRenderable::isNotEqualTo( other ) )
if( !IECoreScene::VisibleRenderable::isEqualTo( other ) )
{
return false;
}
Expand Down
10 changes: 10 additions & 0 deletions test/IECoreVDB/VDBObjectTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,16 @@ def testFilename( self ) :
emptyVDB = IECoreVDB.VDBObject()
self.assertEqual( emptyVDB.fileName(), "" )

def testEquality( self ) :

o = IECoreVDB.VDBObject( os.path.join( self.dataDir, "smoke.vdb" ) )
self.assertEqual( o, o )

o2 = o.copy()
o2.findGrid( "density" ).mapAll( lambda value : value + 1 )

self.assertNotEqual( o2, o )
self.assertEqual( o2, o2 )

if __name__ == "__main__":
unittest.main()
Expand Down