Compiling commit for previous commit...
authorJoshua Leung <aligorith@gmail.com>
Mon, 7 Feb 2011 11:51:28 +0000 (11:51 +0000)
committerJoshua Leung <aligorith@gmail.com>
Mon, 7 Feb 2011 11:51:28 +0000 (11:51 +0000)
source/blender/editors/animation/keyframing.c

index 8dc813d940b023723d8bbdd3e072bd2329057029..84288bd98076cb9c91efaea4cb578c65251448be 100644 (file)
@@ -50,6 +50,7 @@
 
 #include "BKE_animsys.h"
 #include "BKE_action.h"
+#include "BKE_armature.h"
 #include "BKE_constraint.h"
 #include "BKE_depsgraph.h"
 #include "BKE_fcurve.h"
@@ -648,6 +649,7 @@ static float visualkey_get_value (PointerRNA *ptr, PropertyRNA *prop, int array_
                                mat4_to_eulO(eul, ob->rotmode, ob->obmat);
                                return eul[array_index];
                        }
+                       // FIXME: other types of rotation don't work
                }
        }
        else if (ptr->type == &RNA_PoseBone) {