mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Fixes IfcLinearPlacement fallback position warning
This commit is contained in:
@@ -126,7 +126,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcObjectPlacement* inst) {
|
||||
|
||||
if (fallback) {
|
||||
auto mapped_fallback = taxonomy::cast<taxonomy::matrix4>(map(fallback));
|
||||
if (mapped_fallback != result) {
|
||||
if (!result->ccomponents().isApprox(mapped_fallback->ccomponents())) {
|
||||
Logger::Warning("Computed placement differs from fallback", inst);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user