Uranium
Application Framework
|
An operation that removes a SceneNode from the scene. More...
Public Member Functions | |
__init__ (self, node) | |
Initialises the RemoveSceneNodeOperation. | |
undo (self) | |
Undoes the operation, putting the node back in the scene. | |
redo (self) | |
Redo the operation, removing the node again. | |
![]() | |
__init__ (self) | |
undo (self) | |
Undo the operation. | |
redo (self) | |
Redo the operation. | |
mergeWith (self, other) | |
Perform operation merging. | |
push (self) | |
Push the operation onto the stack. | |
Protected Attributes | |
_node | |
_parent | |
![]() | |
_timestamp | |
_always_merge | |
An operation that removes a SceneNode from the scene.
UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation.__init__ | ( | self, | |
node | |||
) |
Initialises the RemoveSceneNodeOperation.
node | The node to remove. |
Reimplemented from UM.Operations.Operation.Operation.
UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation.redo | ( | self | ) |
Redo the operation, removing the node again.
Reimplemented from UM.Operations.Operation.Operation.
UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation.undo | ( | self | ) |
Undoes the operation, putting the node back in the scene.
Reimplemented from UM.Operations.Operation.Operation.