From 8961d63c547962c466da572d18ac3992fe5ffa78 Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Wed, 5 May 2010 02:07:26 +0000 Subject: [#22212] edit problem with translate manipulator Missing a matrix normalization (objects scaled in object mode would have the bug). --- source/blender/editors/transform/transform_constraints.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/transform') diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c index c2f57be2453..fd5e0580911 100644 --- a/source/blender/editors/transform/transform_constraints.c +++ b/source/blender/editors/transform/transform_constraints.c @@ -524,6 +524,7 @@ void setLocalConstraint(TransInfo *t, int mode, const char text[]) { if (t->flag & T_EDIT) { float obmat[3][3]; copy_m3_m4(obmat, t->scene->obedit->obmat); + normalize_m3(obmat); setConstraint(t, obmat, mode, text); } else { -- cgit v1.2.3