def __del__(self): """Destructor with reverting visible layers. """ _switch_layers_visibility(self.layers_visibilities, False)
def __del__(self): """Destructor with reverting visible layers. """ _switch_layers_visibility(self.layers_visibilities, False)
def __init__(self): """Constructor used for showing all scene visibility layers. This provides possibility to updates world matrixes even on hidden objects. """ self.layers_visibilities = _switch_layers_visibility([], True)
def __init__(self): """Constructor used for showing all scene visibility layers. This provides possibility to updates world matrixes even on hidden objects. """ self.layers_visibilities = _switch_layers_visibility([], True)