diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-07-29 15:10:07 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-07-29 15:10:07 +0300 |
commit | 18caaff149dc3f98067ac21ef631bcbc89697f9c (patch) | |
tree | 37d01759aa8dffbccec3ce74765fde9eb79617a2 /source/blender/editors/transform | |
parent | 9c807325ddff72b87e615e11dc2385035c4e1fc5 (diff) | |
parent | 84f7de432c72e941477b74ab7cb3b749b85566ac (diff) |
Merge branch 'blender-v2.90-release'
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform_constraints.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c index 66b90eb159f..e15239f37d4 100644 --- a/source/blender/editors/transform/transform_constraints.c +++ b/source/blender/editors/transform/transform_constraints.c @@ -510,10 +510,12 @@ static void applyObjectConstraintVec( else { /* Specific TransData's space. */ copy_v3_v3(out, in); - mul_m3_v3(t->spacemtx_inv, out); - mul_m3_v3(td->axismtx, out); - if (t->flag & T_EDIT) { - mul_m3_v3(tc->mat3_unit, out); + if (t->con.mode & CON_APPLY) { + mul_m3_v3(t->spacemtx_inv, out); + mul_m3_v3(td->axismtx, out); + if (t->flag & T_EDIT) { + mul_m3_v3(tc->mat3_unit, out); + } } } } |