diff --git a/CMakeLists.txt b/CMakeLists.txt index 596193f..08a7b55 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,6 @@ download_project(PROJ vcglib_devel PREFIX ${EXTERNAL_DEPS_DIR} ${UPDATE_DISCONNECTED_IF_AVAILABLE} ) -add_subdirectory(${vcglib_devel_SOURCE_DIR} ${vcglib_devel_BINARY_DIR}) ##matplot++ lib download_project(PROJ MATPLOTPLUSPLUS diff --git a/drmsimulationmodel.cpp b/drmsimulationmodel.cpp index cad27ec..1cb44ae 100755 --- a/drmsimulationmodel.cpp +++ b/drmsimulationmodel.cpp @@ -1323,7 +1323,6 @@ void DRMSimulationModel::updateNodalAccelerations() Node &node = pMesh->nodes[v]; const VertexIndex vi = pMesh->getIndex(v); node.acceleration = node.force.residual / node.mass_6d; - const bool shouldTrigger = mCurrentSimulationStep > 3500; #ifdef POLYSCOPE_DEFINED if (std::isnan(node.acceleration.norm())) { std::cout << "acceleration " << vi << ":" << node.acceleration.toString() << std::endl;