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:
@@ -410,7 +410,6 @@ static void applyTranslation(TransInfo *t, const int UNUSED(mval[2]))
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
headerTranslation(t, global_dir, str);
|
|
||||||
applyTranslationValue(t, global_dir);
|
applyTranslationValue(t, global_dir);
|
||||||
|
|
||||||
/* evil hack - redo translation if clipping needed */
|
/* 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. */
|
/* Set the redo value. */
|
||||||
mul_v3_m3v3(t->values_final, t->spacemtx_inv, global_dir);
|
mul_v3_m3v3(t->values_final, t->spacemtx_inv, global_dir);
|
||||||
|
headerTranslation(t, t->values_final, str);
|
||||||
|
|
||||||
recalcData(t);
|
recalcData(t);
|
||||||
ED_area_status_text(t->area, str);
|
ED_area_status_text(t->area, str);
|
||||||
|
|||||||
Reference in New Issue
Block a user