mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 13:36:25 +00:00
Fix #6362
This commit is contained in:
committed by
Dion Moult
parent
bfc4490c97
commit
6e7c8ad640
@@ -564,7 +564,7 @@ class AddIfcCircle(bpy.types.Operator):
|
|||||||
|
|
||||||
def has_selected_existing_circle(self, context: bpy.types.Context) -> bool:
|
def has_selected_existing_circle(self, context: bpy.types.Context) -> bool:
|
||||||
obj = self.obj
|
obj = self.obj
|
||||||
bm = bmesh.from_edit_mesh(self, mesh)
|
bm = bmesh.from_edit_mesh(self.mesh)
|
||||||
verts = [v for v in bm.verts if v.select and not v.hide]
|
verts = [v for v in bm.verts if v.select and not v.hide]
|
||||||
if len(verts) != 2:
|
if len(verts) != 2:
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user