mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Fix issue with drawing same boundaries multiple times
If you'd hit alt+b in space tool multiple times it would redraw them again and again instead of switching between hiding and showing.
This commit is contained in:
@@ -175,6 +175,8 @@ class Hotkey(bpy.types.Operator, Operator):
|
||||
bpy.ops.bim.add_boundary()
|
||||
|
||||
def hotkey_A_B(self):
|
||||
if not AuthoringData.is_loaded:
|
||||
AuthoringData.load()
|
||||
if not bpy.context.selected_objects:
|
||||
return
|
||||
if AuthoringData.data["has_visible_boundaries"]:
|
||||
|
||||
Reference in New Issue
Block a user