forked from bartvdbraak/blender
Bugfix #17557: Segfault when no active node and trying to insert keyframe
When there is no active node in the Composite Nodes, Blender crashes when trying to insert a keyframe using IKEY.
This commit is contained in:
parent
e8049903ac
commit
6f3a8519da
@ -2001,7 +2001,10 @@ void node_hide(SpaceNode *snode)
|
||||
void node_insert_key(SpaceNode *snode)
|
||||
{
|
||||
bNode *node= editnode_get_active(snode->edittree);
|
||||
|
||||
|
||||
if(node == NULL)
|
||||
return;
|
||||
|
||||
if(node->type==CMP_NODE_TIME) {
|
||||
if(node->custom1<node->custom2) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user