mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-30 03:59:55 +00:00
fixed typo
This commit is contained in:
@@ -5208,7 +5208,7 @@ class CopyGrid(bpy.types.Operator):
|
|||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
props = context.scene.DocProperties
|
props = context.scene.DocProperties
|
||||||
if props.active_drawing_index is None or len(props.drawings) == 0:
|
if props.active_drawing_index is None or len(props.drawings) == 0:
|
||||||
return {"CANCELED"}
|
return {"CANCELLED"}
|
||||||
drawing = props.drawings[props.active_drawing_index]
|
drawing = props.drawings[props.active_drawing_index]
|
||||||
collection = bpy.data.collections.get("IfcGroup/" + drawing.name)
|
collection = bpy.data.collections.get("IfcGroup/" + drawing.name)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user