Add descriptions to style/material selection operators

This commit is contained in:
Andrej730
2024-12-09 12:17:39 +05:00
parent 2e0ca32653
commit 1572bf36a7
2 changed files with 2 additions and 0 deletions
@@ -56,6 +56,7 @@ class DisableEditingMaterials(bpy.types.Operator):
class SelectByMaterial(bpy.types.Operator):
bl_idname = "bim.select_by_material"
bl_label = "Select By Material"
bl_description = "Select objects using the provided material"
bl_options = {"REGISTER", "UNDO"}
material: bpy.props.IntProperty()
@@ -493,6 +493,7 @@ class LoadStyles(bpy.types.Operator):
class SelectByStyle(bpy.types.Operator):
bl_idname = "bim.select_by_style"
bl_label = "Select By Style"
bl_description = "Select objects using the provided style"
bl_options = {"REGISTER", "UNDO"}
style: bpy.props.IntProperty()