Minor fix. See #874.

This commit is contained in:
Dion Moult
2020-06-04 10:33:05 +10:00
parent b708c25f90
commit 12bb14da48
@@ -898,7 +898,7 @@ class RemoveObjectDocumentReference(bpy.types.Operator):
class GenerateGlobalId(bpy.types.Operator):
bl_idname = 'bim.generate_global_id'
bl_label = 'Generate GlobalId'
bl_label = 'Regenerate GlobalId'
def execute(self, context):
index = bpy.context.active_object.BIMObjectProperties.attributes.find('GlobalId')