diff options
Diffstat (limited to 'release/scripts/startup/bl_operators/node.py')
-rw-r--r-- | release/scripts/startup/bl_operators/node.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/node.py b/release/scripts/startup/bl_operators/node.py index 9839e0ee092..5c7f3c3f4b2 100644 --- a/release/scripts/startup/bl_operators/node.py +++ b/release/scripts/startup/bl_operators/node.py @@ -44,6 +44,9 @@ class NodeAddOperator(): node = tree.nodes.new(type=node_type) + if space.use_hidden_preview: + node.show_preview = False + node.select = True tree.nodes.active = node node.location = space.cursor_location |