Пример #1
0
    def __selectionChanged(self, pathListing):

        assert (pathListing is self.__pathListing)

        with Gaffer.BlockedConnection(self._contextChangedConnection()):
            ContextAlgo.setSelectedPaths(self.getContext(),
                                         pathListing.getSelection())
Пример #2
0
	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 )
Пример #3
0
    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)
Пример #4
0
	def __selectionChanged( self, pathListing ) :

		assert( pathListing is self.__pathListing )

		with Gaffer.BlockedConnection( self._contextChangedConnection() ) :
			ContextAlgo.setSelectedPaths( self.getContext(), pathListing.getSelection() )