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

This partially reverts commit ad15e764dd.
The local value is only useful with constraint.
This commit is contained in:
Germano Cavalcante 2021-01-10 20:55:23 -03:00
parent ad15e764dd
commit d4330ae70b
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +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);
headerTranslation(t, (t->con.mode & CON_APPLY) ? t->values_final : global_dir, str);
recalcData(t);
ED_area_status_text(t->area, str);