diff options
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r-- | source/blender/editors/transform/transform_manipulator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index acc6108f264..667c0f01c18 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -66,6 +66,7 @@ #include "ED_curve.h" #include "ED_particle.h" #include "ED_view3d.h" +#include "ED_transform.h" #include "UI_resources.h" @@ -549,7 +550,7 @@ static int calc_manipulator_stats(const bContext *C) if (ob && totsel) { switch (v3d->twmode) { - + case V3D_MANIP_GLOBAL: { break; /* nothing to do */ @@ -973,7 +974,7 @@ static void draw_manipulator_rotate( ortho = is_orthogonal_m4(rv3d->twmat); - + /* apply the transform delta */ if (is_moving) { copy_m4_m4(matt, rv3d->twmat); // to copy the parts outside of [3][3] @@ -1881,4 +1882,3 @@ int BIF_do_manipulator(bContext *C, const struct wmEvent *event, wmOperator *op) return val; } - |