forked from bartvdbraak/blender
Ungrouping a Node in Compositor left uiBlock pointers unchanged in
nodes, causing crashes evidently. :)
This commit is contained in:
parent
a5a26170b2
commit
6d6f539d03
@ -846,7 +846,8 @@ bNode *nodeCopyNode(struct bNodeTree *ntree, struct bNode *node)
|
|||||||
node->new= nnode;
|
node->new= nnode;
|
||||||
nnode->new= NULL;
|
nnode->new= NULL;
|
||||||
nnode->preview= NULL;
|
nnode->preview= NULL;
|
||||||
|
nnode->block= NULL;
|
||||||
|
|
||||||
return nnode;
|
return nnode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user