This commit is contained in:
Andrej730
2025-11-12 12:56:28 +05:00
parent abef655482
commit 080222ffe6
3 changed files with 7 additions and 7 deletions
@@ -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: