diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-07-16 08:45:52 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-07-16 08:45:52 +0400 |
commit | 513dcf7b46eee6ffbb47f6046c4840730e173180 (patch) | |
tree | 742ba5baa39b7b7e34f20b8af7c0ba14379f0556 /source/blender/editors/transform | |
parent | 111be5ea2aa227cc93c9fc57750e463c55056673 (diff) |
2.5 - Silencing various compiler warnings (mingw)
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform_generics.c | 4 | ||||
-rw-r--r-- | source/blender/editors/transform/transform_manipulator.c | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c index d1394d65f96..62b68589d98 100644 --- a/source/blender/editors/transform/transform_generics.c +++ b/source/blender/editors/transform/transform_generics.c @@ -64,6 +64,7 @@ //#include "BIF_editparticle.h" //#include "BIF_meshtools.h" +#include "BKE_animsys.h" #include "BKE_action.h" #include "BKE_anim.h" #include "BKE_armature.h" @@ -305,7 +306,6 @@ void recalcData(TransInfo *t) flushTransSeq(t); } else if (t->spacetype == SPACE_ACTION) { - SpaceAction *sact= (SpaceAction *)t->sa->spacedata.first; Scene *scene; bAnimContext ac; @@ -340,7 +340,6 @@ void recalcData(TransInfo *t) BLI_freelistN(&anim_data); } else if (t->spacetype == SPACE_IPO) { - SpaceIpo *sipo= (SpaceIpo *)t->sa->spacedata.first; Scene *scene; ListBase anim_data = {NULL, NULL}; @@ -374,7 +373,6 @@ void recalcData(TransInfo *t) /* now test if there is a need to re-sort */ for (ale= anim_data.first; ale; ale= ale->next) { FCurve *fcu= (FCurve *)ale->key_data; - AnimData *adt= BKE_animdata_from_id(ale->id); /* watch it: if the time is wrong: do not correct handles yet */ if (test_time_fcurve(fcu)) diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index c656b097cb9..ef92787701c 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -340,7 +340,6 @@ int calc_manipulator_stats(const bContext *C) } } else if(ob && (ob->flag & OB_POSEMODE)) { - bArmature *arm = ob->data; bPoseChannel *pchan; int mode = TFM_ROTATION; // mislead counting bones... bah. We don't know the manipulator mode, could be mixed |