Skip to content

Commit 99cddbd

Browse files
authored
Merge pull request #1446 from ivanimanishi/updateHoudinTestsAgain
IECoreHoudini : reverts 9ead39d
2 parents ad13678 + 56d4d8b commit 99cddbd

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

Changes

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ Fixes
1111

1212
- IECore : Fixed bug that was causing imath vectors and colors with values of `inf` / `std::numeric_limits<float>::infinity()` to be serialised in a way that could not be evaluated with `eval()`.
1313

14+
Build
15+
-----
16+
17+
- CI :
18+
- IECoreHoudini.LiveSceneTest : Reverted recent update since #1441 made it unnecessary.
19+
1420
10.5.11.0 (relative to 10.5.10.0)
1521
=========
1622

test/IECoreHoudini/LiveSceneTest.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1337,16 +1337,16 @@ def testCornersAndCreasesForSplitLocations( self ) :
13371337
boxResult = scene.scene( [ "sub1", "box1" ] ).readObject( 0 )
13381338
self.assertTrue( boxResult.arePrimitiveVariablesValid() )
13391339
self.assertEqual( boxResult.keys(), [ "P" ] )
1340-
self.assertEqual( boxResult.cornerIds(), IECore.IntVectorData( [ 6 ] ) )
1340+
self.assertEqual( boxResult.cornerIds(), IECore.IntVectorData( [ 7 ] ) )
13411341
self.assertEqual( boxResult.cornerSharpnesses(), IECore.FloatVectorData( [ 10.0 ] ) )
13421342
self.assertEqual( boxResult.creaseLengths(), IECore.IntVectorData( [ 2 ] * 3 ) )
1343-
self.assertEqual( boxResult.creaseIds(), IECore.IntVectorData( [ 3, 2, 1, 2, 2, 4 ] ) )
1343+
self.assertEqual( boxResult.creaseIds(), IECore.IntVectorData( [ 1, 5, 4, 5, 5, 6 ] ) )
13441344
self.assertEqual( boxResult.creaseSharpnesses(), IECore.FloatVectorData( [ 1.29 ] * 3 ) )
13451345

13461346
torusResult = scene.scene( [ "sub1", "box1", "gap", "torus" ] ).readObject( 0 )
13471347
self.assertTrue( torusResult.arePrimitiveVariablesValid() )
13481348
self.assertEqual( torusResult.keys(), [ "P" ] )
1349-
self.assertEqual( torusResult.cornerIds(), IECore.IntVectorData( [0, 1, 4, 6, 8, 10] ) )
1349+
self.assertEqual( torusResult.cornerIds(), IECore.IntVectorData( [ 6, 7, 8, 9, 10, 11 ] ) )
13501350
self.assertEqual( torusResult.cornerSharpnesses(), IECore.FloatVectorData( [ 5.0 ] * 6 ) )
13511351
self.assertEqual( torusResult.creaseLengths(), IECore.IntVectorData( [ 2 ] * 6 ) )
13521352
self.assertEqual( torusResult.creaseIds(), IECore.IntVectorData( [ 30, 35, 30, 31, 31, 32, 32, 33, 33, 34, 34, 35 ] ) )

0 commit comments

Comments
 (0)