Move bl_descriptions

Moved bl_descriptions under bl_options when bl_options exists, copying the syntax of already existing operators with descriptions.
This commit is contained in:
Trashman247
2023-03-25 17:36:17 -07:00
committed by Dion Moult
parent f1d6e95e51
commit 15a1aa5355
@@ -102,8 +102,8 @@ class ImportClashSets(bpy.types.Operator):
class AddClashSet(bpy.types.Operator):
bl_idname = "bim.add_clash_set"
bl_label = "Add Clash Set"
bl_description = "Add a clash set"
bl_options = {"REGISTER", "UNDO"}
bl_description = "Add a clash set"
def execute(self, context):
new = context.scene.BIMClashProperties.clash_sets.add()