IfcAxis1Placement.Axis is optional #7728

This commit is contained in:
Thomas Krijnen
2026-02-27 11:06:45 +01:00
parent f8663b5e2b
commit 5b0511379b
4 changed files with 28 additions and 12 deletions
+4
View File
@@ -691,6 +691,10 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSurfaceStyle* style) {
}
taxonomy::ptr mapping::map(const IfcBaseInterface* inst) {
if (inst == nullptr) {
Logger::Error("Warning nullptr passed to map() function");
return nullptr;
}
auto iden = inst->as<IfcUtil::IfcBaseClass>()->identity();
if (use_caching_) {
std::lock_guard<std::mutex> guard(cache_guard_);