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:
2021-01-10 20:30:25 -03:00
parent 08e44b5e3e
commit ad15e764dd

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