Fix T58663: UV Align Auto does nothing

one case was missing in cleanup commit rB8fc6609cc008
This commit is contained in:
Philipp Oeser 2018-12-06 13:17:04 +01:00
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
1 changed files with 1 additions and 1 deletions

View File

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