Fix T58663: UV Align Auto does nothing
one case was missing in cleanup commit rB8fc6609cc008
This commit is contained in:
parent
e850ae14ee
commit
32d50858c3
Notes:
blender-bot
2023-02-14 06:49:54 +01:00
Referenced by issue #58663, UV Editor: UV Context Menu(W key) Auto does nothing
|
@ -1566,7 +1566,7 @@ static void uv_weld_align(bContext *C, eUVWeldAlign tool)
|
|||
}
|
||||
}
|
||||
}
|
||||
tool = (max[0] - min[0] >= max[1] - min[1]) ? 'y' : 'x';
|
||||
tool = (max[0] - min[0] >= max[1] - min[1]) ? UV_ALIGN_Y : UV_ALIGN_X;
|
||||
}
|
||||
|
||||
ED_uvedit_center_multi(scene, ima, objects, objects_len, cent, 0);
|
||||
|
|
Loading…
Reference in New Issue