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
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-14 02:19:46 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-14 02:19:46 +0400
commit6eedf08cca01965eecf15fccbc08a5db6a23b5aa (patch)
treecc24a3f2ea0593084aa706ffd3ca68f55fb70f52 /source
parentff98be83a977e54039bfdae405df5a79abafeea7 (diff)
Fix T38176: can't set vertex coordinate to 0.0 when it's set to 0.0000001.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/view3d_buttons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_buttons.c b/source/blender/editors/space_view3d/view3d_buttons.c
index b4bc202c177..70f05770452 100644
--- a/source/blender/editors/space_view3d/view3d_buttons.c
+++ b/source/blender/editors/space_view3d/view3d_buttons.c
@@ -477,7 +477,7 @@ static void v3d_editvertex_buts(uiLayout *layout, View3D *v3d, Object *ob, float
BMesh *bm = em->bm;
BMIter iter;
- if (len_v3(&median[LOC_X]) > 0.000001f) {
+ if (tot == 1 || len_v3(&median[LOC_X]) != 0.0f) {
BMVert *eve;
BM_ITER_MESH (eve, &iter, bm, BM_VERTS_OF_MESH) {