From 15a1aa5355bfad78f3b3f9951920e8108277ec6a Mon Sep 17 00:00:00 2001 From: Trashman247 Date: Sat, 25 Mar 2023 17:36:17 -0700 Subject: [PATCH] Move bl_descriptions Moved bl_descriptions under bl_options when bl_options exists, copying the syntax of already existing operators with descriptions. --- src/blenderbim/blenderbim/bim/module/clash/operator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blenderbim/blenderbim/bim/module/clash/operator.py b/src/blenderbim/blenderbim/bim/module/clash/operator.py index cca448f896..f224d40859 100644 --- a/src/blenderbim/blenderbim/bim/module/clash/operator.py +++ b/src/blenderbim/blenderbim/bim/module/clash/operator.py @@ -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()