Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2010-05-05 06:07:26 +0400
committerMartin Poirier <theeth@yahoo.com>2010-05-05 06:07:26 +0400
commit8961d63c547962c466da572d18ac3992fe5ffa78 (patch)
tree0b571aec7959cf4305584b77fe999c54ad525bf4 /source/blender/editors/transform
parentbfca6d8f75d6b3a7a096c4918ed4137f434dff5d (diff)
[#22212] edit problem with translate manipulator
Missing a matrix normalization (objects scaled in object mode would have the bug).
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_constraints.c1
1 files changed, 1 insertions, 0 deletions
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 {