Irc reported bug by Sapir: Shape Key factor slider in Edit Buttons crashed
when no ipo window was opened. Was using an old global pointer. fixed!
This commit is contained in:
@@ -1650,7 +1650,7 @@ Ipo *verify_ipo(ID *from, short blocktype, char *actname, char *constname)
|
||||
return ob->ipo;
|
||||
}
|
||||
else if(blocktype==ID_KE) {
|
||||
Key *key= ob_get_key((Object *)G.sipo->from);
|
||||
Key *key= ob_get_key((Object *)from);
|
||||
|
||||
if(key) {
|
||||
if(key->ipo==NULL) {
|
||||
|
||||
Reference in New Issue
Block a user