Rollback of http://projects.blender.org/pipermail/bf-blender-cvs/2005-June/003769.html (which I in my commithappyness did before properly checking)

This commit is contained in:
Nathan Letwory
2005-06-11 16:30:36 +00:00
parent 3d9833982b
commit c91355f3b6
6 changed files with 10 additions and 9 deletions

View File

@@ -1865,7 +1865,7 @@ void special_aftertrans_update(char mode, int flip, short canceled, int keyflags
*/
clear_bone_nocalc_ob(G.obpose);
if ((U.flag & USER_RECORDKEYS) && !canceled){
if ((G.flags & G_RECORDKEYS) && !canceled){
act=G.obpose->action;
pose=G.obpose->pose;
@@ -1973,7 +1973,7 @@ void special_aftertrans_update(char mode, int flip, short canceled, int keyflags
where_is_object(ob); /* always do, for track etc. */
/* Set autokey if necessary */
if ((U.flag & USER_RECORDKEYS) && (!canceled) && (base->flag & SELECT)){
if ((G.flags & G_RECORDKEYS) && (!canceled) && (base->flag & SELECT)){
if (keyflags){
insertkey(&base->object->id, OB_ROT_X);
insertkey(&base->object->id, OB_ROT_Y);