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:
parent
f49d438ced
commit
0d36439f95
Notes:
blender-bot
2023-02-14 08:10:10 +01:00
Referenced by commit 05564c8ca6
, Fix wrong length value in the header of the Move operator
Referenced by issue #90965, Transformation display doesn't change when move object along axis
Referenced by issue #90911, Edit Mode - Move along axis while mouse dragging does not correctly display distance units
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue