diff options
author | Ton Roosendaal <ton@blender.org> | 2006-11-02 13:39:00 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-11-02 13:39:00 +0300 |
commit | 3276981571118af5d7b5210e3a099dd01fa6df61 (patch) | |
tree | 722630df21208e226fa5be9e245a762048b07200 /source/blender/src/editaction.c | |
parent | cd097a0e3c2df67833c4029d4b8c06136b1ee326 (diff) |
Bugfix #5017
Deleting Shape keys could give a crash, if no Ipo was assigned to the
Shapes.
Fix located & provided by Joilnen, thanks!
Diffstat (limited to 'source/blender/src/editaction.c')
-rw-r--r-- | source/blender/src/editaction.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/editaction.c b/source/blender/src/editaction.c index 25aedeae765..ea769545c94 100644 --- a/source/blender/src/editaction.c +++ b/source/blender/src/editaction.c @@ -296,7 +296,8 @@ static void remake_meshaction_ipos(Ipo *ipo) static void meshkey_do_redraw(Key *key) { - remake_meshaction_ipos(key->ipo); + if(key->ipo) + remake_meshaction_ipos(key->ipo); DAG_object_flush_update(G.scene, OBACT, OB_RECALC_DATA); |