#4605 fix segfault in absence of profile placement

This commit is contained in:
Thomas Krijnen
2024-05-06 12:00:00 +02:00
parent a130601969
commit 9de173dd3b
+1 -1
View File
@@ -99,7 +99,7 @@ taxonomy::loop::ptr ifcopenshell::geometry::profile_helper(const taxonomy::matri
}
*/
const bool has_position = !m4->is_identity();
const bool has_position = m4 && !m4->is_identity();
// @todo precision