mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
Rename IsolateSmartGroup operator to SelectSmartGroup
This commit is contained in:
committed by
Dion Moult
parent
bbde4e7522
commit
8aae7c95e6
@@ -146,7 +146,7 @@ if bpy is not None:
|
||||
operator.SelectClashResults,
|
||||
operator.SelectSmartGroupedClashesPath,
|
||||
operator.SmartClashGroup,
|
||||
operator.IsolateSmartGroup,
|
||||
operator.SelectSmartGroup,
|
||||
operator.SwitchContext,
|
||||
operator.RemoveContext,
|
||||
operator.OpenUpstream,
|
||||
|
||||
@@ -1958,9 +1958,9 @@ class SmartClashGroup(bpy.types.Operator):
|
||||
|
||||
return {"FINISHED"}
|
||||
|
||||
class IsolateSmartGroup(bpy.types.Operator):
|
||||
bl_idname = "bim.isolate_smart_group"
|
||||
bl_label = "Isolate Smart Group"
|
||||
class SelectSmartGroup(bpy.types.Operator):
|
||||
bl_idname = "bim.select_smart_group"
|
||||
bl_label = "Select Smart Group"
|
||||
|
||||
def execute(self, context):
|
||||
# Select smart group in view
|
||||
|
||||
@@ -2395,9 +2395,8 @@ class BIM_PT_clash_manager(Panel):
|
||||
|
||||
layout.template_list('BIM_UL_smart_groups', '', props, 'smart_clash_groups', props, 'active_smart_group_index')
|
||||
|
||||
# TODO: add operator to isolate smart groups one by one in the viewport
|
||||
row = layout.row(align=True)
|
||||
row.operator("bim.isolate_smart_group")
|
||||
row.operator("bim.select_smart_group")
|
||||
|
||||
class BIM_PT_misc_utilities(Panel):
|
||||
bl_idname = "BIM_PT_misc_utilities"
|
||||
|
||||
Reference in New Issue
Block a user