#NEWLINE# def _updateFromSet( self ) : #NEWLINE# #INDENT# self . __plug = None #NEWLINE# self . __plugParentChangedConnection = None #NEWLINE# node = self . _lastAddedNode ( ) #NEWLINE# if ( outputScenePlugs is not None ) : #NEWLINE# #INDENT# outputScenePlugs = [ p for p in node . children ( GafferScene . ScenePlug ) if ( p . direction ( ) == Gaffer . Plug . Direction . Out ) ] #NEWLINE# if len ( outputScenePlugs ) : #NEWLINE# #INDENT# self . __plug = outputScenePlugs [ 0 ] #NEWLINE# self . __plugParentChangedConnection = self . __plug . parentChangedSignal ( ) . connect ( Gaffer . WeakMethod ( self . __plugParentChanged ) ) #NEWLINE# #UNINDENT# #UNINDENT# GafferUI . NodeSetEditor . _updateFromSet ( self ) #NEWLINE# self . __setPathListingPath ( )