Fix: Crash when grouping frame node but not its children
Most likely caused by ab4926bcff
This commit is contained in:
parent
51e2ce7df5
commit
d0348bcb8a
|
@ -833,7 +833,7 @@ static void node_group_make_insert_selected(const bContext &C,
|
|||
if (node->parent == nullptr) {
|
||||
continue;
|
||||
}
|
||||
if (nodes_to_move.contains(node->parent) && nodes_to_move.contains(node)) {
|
||||
if (nodes_to_move.contains(node->parent) && !nodes_to_move.contains(node)) {
|
||||
nodeDetachNode(&ntree, node);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue