Skip to content

Commit

Permalink
Merge pull request #1446 from ivanimanishi/updateHoudinTestsAgain
Browse files Browse the repository at this point in the history
IECoreHoudini : reverts 9ead39d
  • Loading branch information
ivanimanishi authored Jan 29, 2025
2 parents ad13678 + 56d4d8b commit 99cddbd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ Fixes

- 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()`.

Build
-----

- CI :
- IECoreHoudini.LiveSceneTest : Reverted recent update since #1441 made it unnecessary.

10.5.11.0 (relative to 10.5.10.0)
=========

Expand Down
6 changes: 3 additions & 3 deletions test/IECoreHoudini/LiveSceneTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,16 +1337,16 @@ def testCornersAndCreasesForSplitLocations( self ) :
boxResult = scene.scene( [ "sub1", "box1" ] ).readObject( 0 )
self.assertTrue( boxResult.arePrimitiveVariablesValid() )
self.assertEqual( boxResult.keys(), [ "P" ] )
self.assertEqual( boxResult.cornerIds(), IECore.IntVectorData( [ 6 ] ) )
self.assertEqual( boxResult.cornerIds(), IECore.IntVectorData( [ 7 ] ) )
self.assertEqual( boxResult.cornerSharpnesses(), IECore.FloatVectorData( [ 10.0 ] ) )
self.assertEqual( boxResult.creaseLengths(), IECore.IntVectorData( [ 2 ] * 3 ) )
self.assertEqual( boxResult.creaseIds(), IECore.IntVectorData( [ 3, 2, 1, 2, 2, 4 ] ) )
self.assertEqual( boxResult.creaseIds(), IECore.IntVectorData( [ 1, 5, 4, 5, 5, 6 ] ) )
self.assertEqual( boxResult.creaseSharpnesses(), IECore.FloatVectorData( [ 1.29 ] * 3 ) )

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

0 comments on commit 99cddbd

Please sign in to comment.