parameters: (self, emitSelChangedSignal=True)
docstring: Should be called whenever a change is made to _primSelection. Some
          final work is done then the prim selection changed signal is emitted.
docstring_summary: Should be called whenever a change is made to _primSelection. Some
          final work is done then the prim selection changed signal is emitted.
docstring_tokens: Should be called whenever a change is made to _primSelection . Some final work is done then the prim selection changed signal is emitted .
function: def _primSelectionChanged(self, emitSelChangedSignal=True):
          """Should be called whenever a change is made to _primSelection. Some
          final work is done then the prim selection changed signal is emitted.
          """
  
          # If updates are suppressed, do not emit a signal or do any
          # pre-processing.
          if self.batchPrimChanges.blocked():
              return
  
          # Make sure there is always at least one path selected.
          if len(self.getPrimPaths()) == 0:
              self._primSelection.addPrimPath(Sdf.Path.absoluteRootPath)
  
          # Recalculate the LCD prims whenever the path selection changes.
          paths = self._primSelection.getPrimPaths()
          if len(paths) > 1:
              paths = [path for path in paths
                          if path != Sdf.Path.absoluteRootPath]
          self._lcdPathSelection = Sdf.Path.RemoveDescendentPaths(paths)
  
          # Finally, emit the changed signal.
          added, removed = self._primSelection.getDiff()
          if emitSelChangedSignal:
              self.signalPrimSelectionChanged.emit(added, removed)
function_tokens: def _primSelectionChanged ( self , emitSelChangedSignal = True ) : # If updates are suppressed, do not emit a signal or do any # pre-processing. if self . batchPrimChanges . blocked ( ) : return # Make sure there is always at least one path selected. if len ( self . getPrimPaths ( ) ) == 0 : self . _primSelection . addPrimPath ( Sdf . Path . absoluteRootPath ) # Recalculate the LCD prims whenever the path selection changes. paths = self . _primSelection . getPrimPaths ( ) if len ( paths ) > 1 : paths = [ path for path in paths if path != Sdf . Path . absoluteRootPath ] self . _lcdPathSelection = Sdf . Path . RemoveDescendentPaths ( paths ) # Finally, emit the changed signal. added , removed = self . _primSelection . getDiff ( ) if emitSelChangedSignal : self . signalPrimSelectionChanged . emit ( added , removed )