Animato - Quick bugfix
Added missing 'break;' 's skipped during the sprint towards the "first working prototype" stage. The temporary Insert Keyframe operator should now work correctly for rotation/scaling keys now by not adding extra keys.
This commit is contained in:
@@ -2051,10 +2051,12 @@ static int insert_key_exec (bContext *C, wmOperator *op)
|
||||
success+= insertkey(id, "scale", 0, cfra, 0);
|
||||
success+= insertkey(id, "scale", 1, cfra, 0);
|
||||
success+= insertkey(id, "scale", 2, cfra, 0);
|
||||
break;
|
||||
case 1: /* rotation */
|
||||
success+= insertkey(id, "rotation", 0, cfra, 0);
|
||||
success+= insertkey(id, "rotation", 1, cfra, 0);
|
||||
success+= insertkey(id, "rotation", 2, cfra, 0);
|
||||
break;
|
||||
default: /* location */
|
||||
success+= insertkey(id, "location", 0, cfra, 0);
|
||||
success+= insertkey(id, "location", 1, cfra, 0);
|
||||
|
||||
Reference in New Issue
Block a user