diff options
author | Germano Cavalcantemano-wii <germano.costa@ig.com.br> | 2021-01-11 02:30:25 +0300 |
---|---|---|
committer | Germano Cavalcantemano-wii <germano.costa@ig.com.br> | 2021-01-11 02:30:25 +0300 |
commit | ad15e764dd92e8f005d2469091ea6a0da4d2cf39 (patch) | |
tree | c2636d529581f8294884267b73fd08b60190b0c7 /source/blender/editors | |
parent | 08e44b5e3ebbdc79ca849ce14f4d75a88f72a8b7 (diff) |
Transform: In the Header, show the translation value in local space
Showing value in the global space was an unintentional change.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/transform/transform_mode_translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_mode_translate.c b/source/blender/editors/transform/transform_mode_translate.c index 4b85e8067fd..c94da21950d 100644 --- a/source/blender/editors/transform/transform_mode_translate.c +++ b/source/blender/editors/transform/transform_mode_translate.c @@ -410,7 +410,6 @@ static void applyTranslation(TransInfo *t, const int UNUSED(mval[2])) } } - headerTranslation(t, global_dir, str); applyTranslationValue(t, global_dir); /* evil hack - redo translation if clipping needed */ @@ -428,6 +427,7 @@ static void applyTranslation(TransInfo *t, const int UNUSED(mval[2])) /* Set the redo value. */ mul_v3_m3v3(t->values_final, t->spacemtx_inv, global_dir); + headerTranslation(t, t->values_final, str); recalcData(t); ED_area_status_text(t->area, str); |