Revision: 71232 http://sourceforge.net/p/brlcad/code/71232 Author: starseeker Date: 2018-07-24 15:05:39 +0000 (Tue, 24 Jul 2018) Log Message: ----------- Turn SPR back off by default.
Modified Paths: -------------- brlcad/trunk/CMakeLists.txt brlcad/trunk/src/librt/screened_poisson.cpp Modified: brlcad/trunk/CMakeLists.txt =================================================================== --- brlcad/trunk/CMakeLists.txt 2018-07-24 14:55:09 UTC (rev 71231) +++ brlcad/trunk/CMakeLists.txt 2018-07-24 15:05:39 UTC (rev 71232) @@ -1362,7 +1362,7 @@ endif(BRLCAD_ENABLE_OPENCL) # Enable features requiring Screened Poisson Surface Reconstruction -option(BRLCAD_ENABLE_SPR "Enable features requiring Screened Poisson Surface Reconstruction" ON) +option(BRLCAD_ENABLE_SPR "Enable features requiring Screened Poisson Surface Reconstruction" OFF) mark_as_advanced(BRLCAD_ENABLE_SPR) # Enable experimental support for binary attributes Modified: brlcad/trunk/src/librt/screened_poisson.cpp =================================================================== --- brlcad/trunk/src/librt/screened_poisson.cpp 2018-07-24 14:55:09 UTC (rev 71231) +++ brlcad/trunk/src/librt/screened_poisson.cpp 2018-07-24 15:05:39 UTC (rev 71232) @@ -23,8 +23,11 @@ * */ #include "common.h" +#include "vmath.h" +#include "bu/log.h" -#include "vmath.h" +#ifdef ENABLE_SPR + #include "raytrace.h" #include "../other/PoissonRecon/Src/SPR.h" @@ -286,6 +289,19 @@ return; } } + +#else /* ENABLE_SPR */ + +extern "C" void +rt_generate_mesh(int **UNUSED(faces), int *UNUSED(num_faces), point_t **UNUSED(points), int *UNUSED(num_pnts), + struct db_i *UNUSED(dbip), const char *UNUSED(obj), fastf_t UNUSED(delta)) +{ + bu_log("Screened Poisson Reconstruction was not enabled for this compilation.\n"); + return; +} + +#endif /* ENABLE_SPR */ + // Local Variables: // tab-width: 8 // mode: C++ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits