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:
authorCampbell Barton <ideasman42@gmail.com>2013-04-08 12:43:16 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-08 12:43:16 +0400
commit0e1891648ecb14aa9c01322531a3e2195db302a5 (patch)
treeee6e779facb4d35230bb20c436f189994598c927 /source/blender/editors/transform/transform_constraints.c
parentbabdd90e2e8f0b790833a56d1641e0d0fbd523d0 (diff)
fix for own mistake in recent adjustments to transform, local without individual-origin wasn't working.
Diffstat (limited to 'source/blender/editors/transform/transform_constraints.c')
-rw-r--r--source/blender/editors/transform/transform_constraints.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c
index 2752d76fbf0..5515ca69bba 100644
--- a/source/blender/editors/transform/transform_constraints.c
+++ b/source/blender/editors/transform/transform_constraints.c
@@ -558,8 +558,8 @@ void setConstraint(TransInfo *t, float space[3][3], int mode, const char text[])
void setLocalConstraint(TransInfo *t, int mode, const char text[])
{
/* edit-mode now allows local transforms too */
-#if 0
- if (t->flag & T_EDIT) {
+#if 1
+ if ((t->flag & T_EDIT) && (t->around != V3D_LOCAL)) {
float obmat[3][3];
copy_m3_m4(obmat, t->scene->obedit->obmat);
normalize_m3(obmat);