Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2018-12-06 15:17:04 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2018-12-06 15:18:13 +0300
commit32d50858c353734124f68fd71b66f46ed2cb2ceb (patch)
tree814826b6a309ccb71a02e745b26aafff38f2c675 /source/blender/editors/uvedit
parente850ae14ee8b44f126e986c37ee4307ed64c14d1 (diff)
Fix T58663: UV Align Auto does nothing
one case was missing in cleanup commit rB8fc6609cc008
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r--source/blender/editors/uvedit/uvedit_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c
index d02bd95c047..9d095fc00ff 100644
--- a/source/blender/editors/uvedit/uvedit_ops.c
+++ b/source/blender/editors/uvedit/uvedit_ops.c
@@ -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);