Skip to content

Commit 7009f00

Browse files
committed
Re-enabling some tests which pass in modern Houdini 12.5 builds (12.5.481 and higher). They also pass in 12.1 builds.
1 parent 59f698d commit 7009f00

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

test/IECoreHoudini/SceneCacheTest.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,22 +1407,14 @@ def compareScene( self, a, b, time = 0, bakedObjects = [], parentTransform = Non
14071407
self.assertTrue( a.readTransformAsMatrix( time ).equalWithAbsError( b.readTransformAsMatrix( time ), 1e-6 ) )
14081408
ab = a.readBound( time )
14091409
bb = b.readBound( time )
1410-
## \todo: re-enable this if Houdini fixes their SubNet bounding box issue
1411-
if not ( hou.applicationVersion()[0] == 12 and hou.applicationVersion()[1] == 5 ) or not isinstance( b, IECoreHoudini.HoudiniScene ) :
1412-
self.assertTrue( ab.min.equalWithAbsError( bb.min, 1e-6 ) )
1413-
self.assertTrue( ab.max.equalWithAbsError( bb.max, 1e-6 ) )
1410+
self.assertTrue( ab.min.equalWithAbsError( bb.min, 1e-6 ) )
1411+
self.assertTrue( ab.max.equalWithAbsError( bb.max, 1e-6 ) )
14141412

14151413
self.assertEqual( a.hasObject(), b.hasObject() )
14161414
if a.hasObject() :
14171415
# need to remove the name added by Houdini
1418-
## \todo: we really shouldn't have the name in the blindData in the first place
14191416
ma = a.readObject( time )
14201417
mb = b.readObject( time )
1421-
self.assertTrue( mb.isInstanceOf( IECore.TypeId.Renderable ) )
1422-
if ma.blindData().has_key( "name" ) :
1423-
del ma.blindData()['name']
1424-
if mb.blindData().has_key( "name" ) :
1425-
del mb.blindData()['name']
14261418
# need to adjust P for baked objects
14271419
if b.name() in bakedObjects :
14281420
IECore.TransformOp()( input=ma, copyInput=False, matrix=IECore.M44dData( parentTransform ) )

0 commit comments

Comments
 (0)