From cb21f9bc0749bb054bb10eff1b2af732f54a1a00 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 12 Sep 2024 11:19:37 +0500 Subject: [PATCH] taxonomy::cast - order upgrades in the same order as in taxonomy::dcast for consistency --- src/ifcgeom/taxonomy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcgeom/taxonomy.h b/src/ifcgeom/taxonomy.h index 8232f021d2..07385be746 100644 --- a/src/ifcgeom/taxonomy.h +++ b/src/ifcgeom/taxonomy.h @@ -1270,13 +1270,13 @@ typedef item const* ptr; } } { - edge_to_loop_upgrade upg(u); + curve_to_face_upgrade upg(u); if (upg) { return upg; } } { - curve_to_face_upgrade upg(u); + edge_to_loop_upgrade upg(u); if (upg) { return upg; }