diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-07-21 21:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-07-21 21:22:26 +0300 |
commit | 14995c5617d130dd876e57cb52b1523eb21ccebe (patch) | |
tree | 3f305af249f2cf14e6e0b2a63279e66fea62da5e /source | |
parent | 1cc0ce58fd082a819431a766fa3e2f897dd46a4e (diff) |
Fix crash w/ auto-insert offset
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_node/node_relationships.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_relationships.c b/source/blender/editors/space_node/node_relationships.c index d7249897723..ea3869ef387 100644 --- a/source/blender/editors/space_node/node_relationships.c +++ b/source/blender/editors/space_node/node_relationships.c @@ -1726,7 +1726,7 @@ static int node_insert_offset_modal(bContext *C, wmOperator *UNUSED(op), const w float duration; bool redraw = false; - if (!snode || event->type != TIMER || iofsd->anim_timer != event->customdata) + if (!snode || event->type != TIMER || iofsd == NULL || iofsd->anim_timer != event->customdata) return OPERATOR_PASS_THROUGH; duration = (float)iofsd->anim_timer->duration; |