Skip to content

Commit

Permalink
Merge pull request #6094 from ericmehl/cyclesRenderTestFix
Browse files Browse the repository at this point in the history
InteractiveRenderTest : `testAddLight` tolerance
  • Loading branch information
johnhaddon authored Oct 15, 2024
2 parents 30f4f83 + 386e5d2 commit 722b712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/GafferSceneTest/InteractiveRenderTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ def testAddLight( self ) :
c = self._color3fAtUV( s["catalogue"], imath.V2f( 0.5 ) )
# Tolerance is high due to sampling noise in Cycles, but is more than sufficient to
# be sure that the new light has been added (otherwise there would be no green at all).
self.assertTrue( ( c / c[0] ).equalWithAbsError( imath.Color3f( 1, 1, 0 ), 0.2 ) )
self.assertTrue( ( c / c[0] ).equalWithAbsError( imath.Color3f( 1, 1, 0 ), 0.25 ) )

s["r"]["state"].setValue( s["r"].State.Stopped )

Expand Down

0 comments on commit 722b712

Please sign in to comment.