mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Fix create_shape() overloads because SWIG does not map None for us anymore
This commit is contained in:
@@ -507,7 +507,7 @@ def create_shape(
|
||||
"""
|
||||
return wrap_shape_creation(
|
||||
settings,
|
||||
ifcopenshell_wrapper.create_shape(settings, inst, repr if repr is not None else None, geometry_library),
|
||||
ifcopenshell_wrapper.create_shape(settings, inst, repr, geometry_library) if repr else ifcopenshell_wrapper.create_shape(settings, inst, geometry_library),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user