src/jmLightToolkit.py
def restoreLights(self):
        """ Delete Displayed/Muted display layer. """
        something_deleted = False
        if pm.objExists(self.displayed_layer_name):
            pm.delete(self.displayed_layer_name)
            something_deleted = True

        if pm.objExists(self.muted_layer_name):
            pm.delete(self.muted_layer_name)
            something_deleted = True

        if something_deleted:
            self.__soloMuteLightsCSS()
            _logger.info("Lights visibilities restored.")
            return True
        else:
            return False
 Delete Displayed/Muted display layer. 
Delete Displayed/Muted display layer.
Delete Displayed / Muted display layer .
def restoreLights(self):
        something_deleted = False
        if pm.objExists(self.displayed_layer_name):
            pm.delete(self.displayed_layer_name)
            something_deleted = True
        if pm.objExists(self.muted_layer_name):
            pm.delete(self.muted_layer_name)
            something_deleted = True
        if something_deleted:
            self.__soloMuteLightsCSS()
            _logger.info("Lights visibilities restored.")
            return True
        else:
            return False
def restoreLights ( self ) : something_deleted = False if pm . objExists ( self . displayed_layer_name ) : pm . delete ( self . displayed_layer_name ) something_deleted = True if pm . objExists ( self . muted_layer_name ) : pm . delete ( self . muted_layer_name ) something_deleted = True if something_deleted : self . __soloMuteLightsCSS ( ) _logger . info ( "Lights visibilities restored." ) return True else : return False
Delete Displayed/Muted display layer.
Delete Displayed / Muted display layer .
""" Delete Displayed/Muted display layer. """
self