mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 09:15:21 +00:00
Fix possible error due to typo
This commit is contained in:
@@ -47,8 +47,8 @@ class PieAddOpening(bpy.types.Operator):
|
|||||||
elif len(obj.children) == 1 and not obj.children[0].BIMObjectProperties.ifc_definition_id:
|
elif len(obj.children) == 1 and not obj.children[0].BIMObjectProperties.ifc_definition_id:
|
||||||
opening_name = obj.children[0].name
|
opening_name = obj.children[0].name
|
||||||
else:
|
else:
|
||||||
opj_name = obj.name
|
obj_name = obj.name
|
||||||
bpy.ops.bim.add_opening(obj=opj_name, opening=opening_name)
|
bpy.ops.bim.add_opening(obj=obj_name, opening=opening_name)
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user