diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-21 03:34:26 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-21 03:35:50 +0300 |
commit | 1de3c81d268ba67128b2dd67335523a94320b0d2 (patch) | |
tree | 37ddb5144609188913218aab6281f3238a291979 /source/blender/editors/space_graph | |
parent | 543614a17d235ad6bf09a4cc82969bf92f16e1de (diff) |
Fix T63431: crash adding driver to a keyframed property with Ctrl+D
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r-- | source/blender/editors/space_graph/graph_buttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index 8742f5d408c..20ddf434f5f 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -1255,7 +1255,7 @@ static void graph_panel_drivers_popover(const bContext *C, Panel *pa) uiLayoutSetContextFromBut(layout, but); /* Populate Panel - With a combination of the contents of the Driven and Driver panels */ - if (fcu) { + if (fcu && fcu->driver) { ID *id = ptr.id.data; /* Driven Property Settings */ |