diff options
-rw-r--r-- | release/scripts/startup/bl_operators/node.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/node.py b/release/scripts/startup/bl_operators/node.py index c7081b6b5c1..b6f0d0fc769 100644 --- a/release/scripts/startup/bl_operators/node.py +++ b/release/scripts/startup/bl_operators/node.py @@ -124,6 +124,7 @@ class NODE_OT_add_node(NodeAddOperator, Operator): '''Add a node to the active tree''' bl_idname = "node.add_node" bl_label = "Add Node" + bl_options = {'REGISTER', 'UNDO'} # Add a node and link it to an existing socket @@ -131,6 +132,7 @@ class NODE_OT_add_and_link_node(NodeAddOperator, Operator): '''Add a node to the active tree and link to an existing socket''' bl_idname = "node.add_and_link_node" bl_label = "Add and Link Node" + bl_options = {'REGISTER', 'UNDO'} link_socket_index = IntProperty( name="Link Socket Index", |