#NEWLINE# def testDirtyPropagation( self ) : #NEWLINE# #INDENT# c = GafferScene . Camera ( ) #NEWLINE# dirtied = GafferTest . CapturingSlot ( c . plugDirtiedSignal ( ) ) #NEWLINE# c [ 'transform' ] [ 'translate' ] [ 'x' ] . setValue ( 10 ) #NEWLINE# self . failUnless ( ( c [ 'out' ] [ 'transform' ] in [ p [ 0 ] for p in dirtied ] ) ) #NEWLINE# dirtied = GafferTest . CapturingSlot ( c . plugDirtiedSignal ( ) ) #NEWLINE# c [ 'name' ] . setValue ( 'renderCam' ) #NEWLINE# self . failUnless ( ( c [ 'out' ] [ 'childNames' ] in [ p [ 0 ] for p in dirtied ] ) ) #NEWLINE# self . failUnless ( ( c [ 'out' ] [ 'set' ] in [ p [ 0 ] for p in dirtied ] ) ) #NEWLINE# dirtied = GafferTest . CapturingSlot ( c . plugDirtiedSignal ( ) ) #NEWLINE# c [ 'projection' ] . setValue ( 'orthographic' ) #NEWLINE# self . failUnless ( ( c [ 'out' ] [ 'object' ] in [ p [ 0 ] for p in dirtied ] ) ) #NEWLINE# self . failUnless ( ( c [ 'out' ] [ 'bound' ] in [ p [ 0 ] for p in dirtied ] ) ) #NEWLINE# dirtied = GafferTest . CapturingSlot ( c . plugDirtiedSignal ( ) ) #NEWLINE# c [ 'fieldOfView' ] . setValue ( 100 ) #NEWLINE# self . failUnless ( ( c [ 'out' ] [ 'object' ] in [ p [ 0 ] for p in dirtied ] ) ) #NEWLINE# self . failUnless ( ( c [ 'out' ] [ 'bound' ] in [ p [ 0 ] for p in dirtied ] ) ) #NEWLINE# dirtied = GafferTest . CapturingSlot ( c . plugDirtiedSignal ( ) ) #NEWLINE# c [ 'clippingPlanes' ] [ 'x' ] . setValue ( 100 ) #NEWLINE# self . failUnless ( ( c [ 'out' ] [ 'object' ] in [ p [ 0 ] for p in dirtied ] ) ) #NEWLINE# self . failUnless ( ( c [ 'out' ] [ 'bound' ] in [ p [ 0 ] for p in p ] ) )