mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
Minor fix. See #874.
This commit is contained in:
@@ -898,7 +898,7 @@ class RemoveObjectDocumentReference(bpy.types.Operator):
|
|||||||
|
|
||||||
class GenerateGlobalId(bpy.types.Operator):
|
class GenerateGlobalId(bpy.types.Operator):
|
||||||
bl_idname = 'bim.generate_global_id'
|
bl_idname = 'bim.generate_global_id'
|
||||||
bl_label = 'Generate GlobalId'
|
bl_label = 'Regenerate GlobalId'
|
||||||
|
|
||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
index = bpy.context.active_object.BIMObjectProperties.attributes.find('GlobalId')
|
index = bpy.context.active_object.BIMObjectProperties.attributes.find('GlobalId')
|
||||||
|
|||||||
Reference in New Issue
Block a user