mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +00:00
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:
@@ -102,8 +102,8 @@ class ImportClashSets(bpy.types.Operator):
|
|||||||
class AddClashSet(bpy.types.Operator):
|
class AddClashSet(bpy.types.Operator):
|
||||||
bl_idname = "bim.add_clash_set"
|
bl_idname = "bim.add_clash_set"
|
||||||
bl_label = "Add Clash Set"
|
bl_label = "Add Clash Set"
|
||||||
bl_description = "Add a clash set"
|
|
||||||
bl_options = {"REGISTER", "UNDO"}
|
bl_options = {"REGISTER", "UNDO"}
|
||||||
|
bl_description = "Add a clash set"
|
||||||
|
|
||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
new = context.scene.BIMClashProperties.clash_sets.add()
|
new = context.scene.BIMClashProperties.clash_sets.add()
|
||||||
|
|||||||
Reference in New Issue
Block a user