Fix T50656: Compositing node editor is empty, no nodes can be added
This commit is contained in:
parent
60592f6778
commit
9eb647f1c8
Notes:
blender-bot
2023-02-14 11:21:40 +01:00
Referenced by issue #51449, High CPU usage when removing material from object Referenced by issue #50656, Compositing node editor is empty, no nodes can be added
|
@ -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