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>2009-12-17 20:34:56 +0300
committerMartin Poirier <theeth@yahoo.com>2009-12-17 20:34:56 +0300
commita1b8f1695840313d08db5863a4d16fb64e951f43 (patch)
tree6b7c2619a546adc2e449f9aa8d13fac67dafc603 /source/blender/editors/transform/transform_constraints.c
parent0af48c227bdcd1d11a0bf51b9527dcbdc6d2ba80 (diff)
Bugfix: [#20406] reapeat duplication along axis+view transform orientation
Saving back orientation in operator didn't take into account that constraint orientation can be different than user selected orientation. Also simplify the switching logic a little.
Diffstat (limited to 'source/blender/editors/transform/transform_constraints.c')
-rw-r--r--source/blender/editors/transform/transform_constraints.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c
index 1f42d9411f1..fd53f6fcd20 100644
--- a/source/blender/editors/transform/transform_constraints.c
+++ b/source/blender/editors/transform/transform_constraints.c
@@ -599,6 +599,8 @@ void setUserConstraint(TransInfo *t, short orientation, int mode, const char fte
break;
}
+ t->con.orientation = orientation;
+
t->con.mode |= CON_USER;
}