diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-07-29 15:09:34 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-07-29 15:09:34 +0300 |
commit | 84f7de432c72e941477b74ab7cb3b749b85566ac (patch) | |
tree | 7075194487c13698cef7b3f1f0bfd5ee487e4e8d /source | |
parent | 3e8250050918ffb44cbe62963222d10127a97329 (diff) |
Fix T78826: Move constraint is not fully disabled
Caused by rB45f17e10ec50
Diffstat (limited to 'source')
-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); + } } } } |