Fix T70560: Large cones are created with double vertices (even though
the radius is zero) Merge threshold for remove_doubles was hardcoded, now scaled by depth. Reviewed By: campbellbarton Maniphest Tasks: T70560 Differential Revision: https://developer.blender.org/D6001
This commit is contained in:
parent
7fb12536b7
commit
fa76f08db5
Notes:
blender-bot
2023-05-22 12:40:41 +02:00
Referenced by issue #70560, Large cones are created with double vertices (even though the radius is zero)
|
@ -1507,7 +1507,7 @@ void bmo_create_cone_exec(BMesh *bm, BMOperator *op)
|
|||
BMO_op_callf(bm, op->flag, "dissolve_faces faces=%ff", FACE_NEW);
|
||||
}
|
||||
|
||||
BMO_op_callf(bm, op->flag, "remove_doubles verts=%fv dist=%f", VERT_MARK, 0.000001);
|
||||
BMO_op_callf(bm, op->flag, "remove_doubles verts=%fv dist=%f", VERT_MARK, 0.0000005 * depth);
|
||||
BMO_slot_buffer_from_enabled_flag(bm, op, op->slots_out, "verts.out", BM_VERT, VERT_MARK);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue