forked from bartvdbraak/blender
Fix T38176: can't set vertex coordinate to 0.0 when it's set to 0.0000001.
This commit is contained in:
parent
ff98be83a9
commit
6eedf08cca
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user