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:
@@ -46,6 +46,7 @@ class NodeAddOperator():
|
||||
name="Settings",
|
||||
description="Settings to be applied on the newly created node",
|
||||
type=NodeSetting,
|
||||
options={'SKIP_SAVE'},
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
|
Reference in New Issue
Block a user