mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
#4605 fix segfault in absence of profile placement
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user