mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-15 18:14:08 +00:00
black .
This commit is contained in:
@@ -330,7 +330,7 @@ class BIM_OT_select_aggregate(bpy.types.Operator):
|
|||||||
if not result:
|
if not result:
|
||||||
result = query
|
result = query
|
||||||
else:
|
else:
|
||||||
result += f' + {query}'
|
result += f" + {query}"
|
||||||
|
|
||||||
if result:
|
if result:
|
||||||
bpy.context.window_manager.clipboard = result
|
bpy.context.window_manager.clipboard = result
|
||||||
|
|||||||
@@ -937,7 +937,7 @@ class CreateDrawing(bpy.types.Operator):
|
|||||||
existing_classes = group.get("class", "").split()
|
existing_classes = group.get("class", "").split()
|
||||||
|
|
||||||
# Add target_view class
|
# Add target_view class
|
||||||
if hasattr(self, 'cprops') and getattr(self.cprops, "target_view", None):
|
if hasattr(self, "cprops") and getattr(self.cprops, "target_view", None):
|
||||||
target_view_class = tool.Drawing.canonicalise_class_name(str(self.cprops.target_view))
|
target_view_class = tool.Drawing.canonicalise_class_name(str(self.cprops.target_view))
|
||||||
target_view_full_class = f"target-view-{target_view_class}"
|
target_view_full_class = f"target-view-{target_view_class}"
|
||||||
if target_view_full_class not in existing_classes:
|
if target_view_full_class not in existing_classes:
|
||||||
|
|||||||
Reference in New Issue
Block a user