Merged master

This commit is contained in:
iasonmanolas 2021-11-15 11:24:50 +02:00
commit 570046132b
2 changed files with 0 additions and 2 deletions

View File

@ -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

View File

@ -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;