diff --git a/CMakeLists.txt b/CMakeLists.txt index f5391f7..9f17e89 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,7 +76,7 @@ IF ( ASSIMP_ENABLE_BOOST_WORKAROUND ) MESSAGE( STATUS "Building a non-boost version of Assimp." ) ELSE ( ASSIMP_ENABLE_BOOST_WORKAROUND ) SET( Boost_DETAILED_FAILURE_MSG ON ) - SET( Boost_ADDITIONAL_VERSIONS "1.47" "1.47.0" "1.48.0" "1.48" "1.49" "1.49.0" "1.50" "1.50.0" "1.51" "1.51.0") + SET( Boost_ADDITIONAL_VERSIONS "1.47" "1.47.0" "1.48.0" "1.48" "1.49" "1.49.0" "1.50" "1.50.0" "1.51" "1.51.0" "1.52" "1.52.0" "1.53" "1.53.0" "1.54" "1.54.0") FIND_PACKAGE( Boost ) IF ( NOT Boost_FOUND ) MESSAGE( FATAL_ERROR diff --git a/code/IFCOpenings.cpp b/code/IFCOpenings.cpp index d02feee..2ba42d1 100644 --- a/code/IFCOpenings.cpp +++ b/code/IFCOpenings.cpp @@ -1188,14 +1188,14 @@ bool GenerateOpenings(std::vector& openings, norm_extrusion_dir = IfcVector3(); } - TempMesh* profile_data = opening.profileMesh; + TempMesh* profile_data = opening.profileMesh.get(); bool is_2d_source = false; if (opening.profileMesh2D && norm_extrusion_dir.SquareLength() > 0) { if(fabs(norm_extrusion_dir * wall_extrusion_axis_norm) < 0.1) { // horizontal extrusion if (fabs(norm_extrusion_dir * nor) > 0.9) { - profile_data = opening.profileMesh2D; + profile_data = opening.profileMesh2D.get(); is_2d_source = true; } else {