#NEWLINE# def testChildNamesUpdateCrash( self ) : #NEWLINE# #INDENT# plane = GafferScene . Plane ( ) #NEWLINE# plane [ 'dimensions' ] . setValue ( IECore . V2f ( 1000 , 1000 ) ) #NEWLINE# seeds = GafferScene . Seeds ( ) #NEWLINE# seeds [ 'in' ] . setInput ( plane [ 'out' ] ) #NEWLINE# seeds [ 'parent' ] . setValue ( '/plane' ) #NEWLINE# seeds [ 'density' ] . setValue ( 0.01 ) #NEWLINE# sphere = GafferScene . Sphere ( ) #NEWLINE# instancer = GafferScene . Instancer ( ) #NEWLINE# instancer [ 'parent' ] . setValue ( '/plane/seeds' ) #NEWLINE# instancer [ 'in' ] . setInput ( self [ 'out' ] ) #NEWLINE# instancer [ 'instance' ] . setInput ( sphere [ 'out' ] ) #NEWLINE# r = GafferRenderMan . InteractiveRenderManRender ( ) #NEWLINE# r [ 'in' ] . setInput ( instancer [ 'out' ] ) #NEWLINE# r [ 'state' ] . setValue ( r . State . Running ) #NEWLINE# seeds [ 'density' ] . setValue ( 0 ) #NEWLINE# seeds [ 'density' ] . setValue ( 0.01 ) #NEWLINE# r [ 'state' ] . setValue ( r . State . Stopped )