|
Uranium
Application Framework
|
Public Member Functions | |
| None | __init__ (self, SceneNode node) |
| None | undo (self) |
| None | redo (self) |
| Public Member Functions inherited from UM.Operations.Operation.Operation | |
| None | __init__ (self) |
| mergeWith (self, other) | |
| None | push (self) |
Protected Attributes | |
| _node = node | |
| _parent = node.getParent() | |
| Protected Attributes inherited from UM.Operations.Operation.Operation | |
| _timestamp = time.time() | |
| bool | _always_merge = False |
An operation that removes a SceneNode from the scene.
| None UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation.__init__ | ( | self, | |
| SceneNode | node ) |
Initialises the RemoveSceneNodeOperation. :param node: The node to remove.
| None UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation.redo | ( | self | ) |
Redo the operation, removing the node again.
Reimplemented from UM.Operations.Operation.Operation.
| None UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation.undo | ( | self | ) |
Undoes the operation, putting the node back in the scene.
Reimplemented from UM.Operations.Operation.Operation.