diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-05-15 07:58:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-05-15 07:58:55 +0300 |
commit | 687ff699e98e54acf8ce6fa705bc8ee5ccd3fddf (patch) | |
tree | 611e29781af4937b357f3e2c54742b1922f15a37 /source/blender/editors/space_node | |
parent | 890d871bc32fed7bee352f88c34d8157fd234596 (diff) |
Cleanup: warnings, style
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r-- | source/blender/editors/space_node/node_edit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c index 6fab8bf74bc..9dc39b1839b 100644 --- a/source/blender/editors/space_node/node_edit.c +++ b/source/blender/editors/space_node/node_edit.c @@ -581,7 +581,8 @@ void snode_set_context(const bContext *C) } if (snode->nodetree != ntree || snode->id != id || snode->from != from || - (snode->treepath.last == NULL && ntree)) { + (snode->treepath.last == NULL && ntree)) + { ED_node_tree_start(snode, ntree, id, from); } } |