def __selectionChanged(self, pathListing): assert (pathListing is self.__pathListing) with Gaffer.BlockedConnection(self._contextChangedConnection()): ContextAlgo.setSelectedPaths(self.getContext(), pathListing.getSelection())
def __selectionChanged( self, pathListing ) : assert( pathListing is self.__pathListing ) paths = pathListing.getSelectedPaths() paths = GafferScene.PathMatcher( [ str(p) for p in paths ] ) with Gaffer.BlockedConnection( self._contextChangedConnection() ) : ContextAlgo.setSelectedPaths( self.getContext(), paths )
def __selectionChanged(self, pathListing): assert (pathListing is self.__pathListing) paths = pathListing.getSelectedPaths() paths = GafferScene.PathMatcher([str(p) for p in paths]) with Gaffer.BlockedConnection(self._contextChangedConnection()): ContextAlgo.setSelectedPaths(self.getContext(), paths)
def __selectionChanged( self, pathListing ) : assert( pathListing is self.__pathListing ) with Gaffer.BlockedConnection( self._contextChangedConnection() ) : ContextAlgo.setSelectedPaths( self.getContext(), pathListing.getSelection() )