[Bf-blender-cvs] [ad15e764dd9] master: Transform: In the Header, show the translation value in local space

Germano Cavalcantemano-wii noreply at git.blender.org
Mon Jan 11 00:30:34 CET 2021


Commit: ad15e764dd92e8f005d2469091ea6a0da4d2cf39
Author: Germano Cavalcantemano-wii
Date:   Sun Jan 10 20:30:25 2021 -0300
Branches: master
https://developer.blender.org/rBad15e764dd92e8f005d2469091ea6a0da4d2cf39

Transform: In the Header, show the translation value in local space

Showing value in the global space was an unintentional change.

===================================================================

M	source/blender/editors/transform/transform_mode_translate.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list