Fix T50656: Compositing node editor is empty, no nodes can be added
This commit is contained in:
parent
60592f6778
commit
9eb647f1c8
@ -582,7 +582,7 @@ void snode_set_context(const bContext *C)
|
||||
}
|
||||
}
|
||||
|
||||
if (snode->nodetree != ntree || snode->id != id || snode->from != from) {
|
||||
if (snode->nodetree != ntree || snode->id != id || snode->from != from || snode->treepath.last == NULL) {
|
||||
ED_node_tree_start(snode, ntree, id, from);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user