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:
-rw-r--r--source/blender/editors/transform/transform_constraints.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c
index 8fdee0e8eec..54a3ebb8c0c 100644
--- a/source/blender/editors/transform/transform_constraints.c
+++ b/source/blender/editors/transform/transform_constraints.c
@@ -976,6 +976,11 @@ void startConstraint(TransInfo *t)
void stopConstraint(TransInfo *t)
{
+ if (t->orient_curr != 0) {
+ t->orient_curr = 0;
+ transform_orientations_current_set(t, t->orient_curr);
+ }
+
t->con.mode &= ~(CON_APPLY | CON_SELECT);
*t->con.text = '\0';
t->num.idx_max = t->idx_max;