Fix T90911: Move along axis does not display real distance units

Variable was wrongly set to 0.
Caused by {rB7192e57d63a5}.
This commit is contained in:
Germano Cavalcante
2021-08-25 12:44:25 -03:00
parent f49d438ced
commit 0d36439f95

View File

@@ -234,7 +234,6 @@ static void headerTranslation(TransInfo *t, const float vec[3], char str[UI_MAX_
if (t->con.mode & CON_APPLY) {
int i = 0;
zero_v3(dvec);
if (t->con.mode & CON_AXIS0) {
dvec[i++] = dvec[0];
}