Fix for add_node operator: needs to have SKIP_SAVE set for the settings collection to prevent it from re-using settings from a previous call. This would otherwise lead to python exceptions when those properties don't exist for the other node type (point in case: node_tree only is defined for group nodes).

This commit is contained in:
Lukas Toenne
2013-05-09 10:13:13 +00:00
parent c1f408c058
commit efcfe88adc

View File

@@ -46,6 +46,7 @@ class NodeAddOperator():
name="Settings",
description="Settings to be applied on the newly created node",
type=NodeSetting,
options={'SKIP_SAVE'},
)
@staticmethod