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

Showing value in the global space was an unintentional change.
This commit is contained in:
Germano Cavalcante 2021-01-10 20:30:25 -03:00
parent 08e44b5e3e
commit ad15e764dd
Notes: blender-bot 2023-02-14 06:19:41 +01:00
Referenced by commit d4330ae70b, Transform: In the Header, show translation value in local space only with constraint
1 changed files with 1 additions and 1 deletions

View File

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