Rename IsolateSmartGroup operator to SelectSmartGroup

This commit is contained in:
Vincent Cadoret
2020-11-21 16:37:53 -05:00
committed by Dion Moult
parent bbde4e7522
commit 8aae7c95e6
3 changed files with 5 additions and 6 deletions
@@ -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
+1 -2
View File
@@ -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"