@@ -1407,22 +1407,14 @@ def compareScene( self, a, b, time = 0, bakedObjects = [], parentTransform = Non
1407
1407
self .assertTrue ( a .readTransformAsMatrix ( time ).equalWithAbsError ( b .readTransformAsMatrix ( time ), 1e-6 ) )
1408
1408
ab = a .readBound ( time )
1409
1409
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 ) )
1414
1412
1415
1413
self .assertEqual ( a .hasObject (), b .hasObject () )
1416
1414
if a .hasObject () :
1417
1415
# need to remove the name added by Houdini
1418
- ## \todo: we really shouldn't have the name in the blindData in the first place
1419
1416
ma = a .readObject ( time )
1420
1417
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' ]
1426
1418
# need to adjust P for baked objects
1427
1419
if b .name () in bakedObjects :
1428
1420
IECore .TransformOp ()( input = ma , copyInput = False , matrix = IECore .M44dData ( parentTransform ) )
0 commit comments