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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mesh_tiny_cad/XALL.py')
-rw-r--r--mesh_tiny_cad/XALL.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh_tiny_cad/XALL.py b/mesh_tiny_cad/XALL.py
index fc0ed76e..a240c56f 100644
--- a/mesh_tiny_cad/XALL.py
+++ b/mesh_tiny_cad/XALL.py
@@ -125,7 +125,7 @@ def update_mesh(bm, d):
bm.normal_update()
collect([a, b])
- bmesh.ops.delete(bm, geom=[edge for edge in bm.edges if edge.select], context=2) # 2 = edges
+ bmesh.ops.delete(bm, geom=[edge for edge in bm.edges if edge.select], context='EDGES')
#bpy.ops.mesh.remove_doubles(
# threshold=cm.CAD_prefs.VTX_DOUBLES_THRSHLD,