Quick fix; "delete shape key" didn't work without IpoWindow open.

This commit is contained in:
Ton Roosendaal 2005-09-26 15:51:44 +00:00
parent 43d2904037
commit c7f2c2c612

@ -598,9 +598,7 @@ void delete_key(Object *ob)
Key *key;
IpoCurve *icu;
if(G.sipo->blocktype!=ID_KE) return;
key= (Key *)G.sipo->from;
key= ob_get_key(ob);
if(key==NULL) return;
kb= BLI_findlink(&key->block, ob->shapenr-1);