This commit is contained in:
Thomas Krijnen
2026-01-10 11:52:05 +01:00
parent 991556fbe3
commit 0604db06e9
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -881,7 +881,7 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
auto prodrep = product.Representation();
auto reps = prodrep.Representations();
auto ifc_representation = representation ? representation.as<typename Schema::IfcRepresentation>() : Schema::IfcRepresentation();
auto ifc_representation = representation ? representation.as<typename Schema::IfcRepresentation>() : typename Schema::IfcRepresentation();
if (!ifc_representation) {
// First, try to find a representation based on the settings