mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +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:
|
||||
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]
|
||||
if len(verts) != 2:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user