From aeffdc1090156db5d7cbcc9fad35308f4c15a2d0 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Thu, 9 Jun 2016 12:13:11 +0000 Subject: [PATCH] minor changes on defaults parameters --- .../algorithms/parametrization/poisson_solver.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/vcg/complex/algorithms/parametrization/poisson_solver.h b/vcg/complex/algorithms/parametrization/poisson_solver.h index a67d02dc..2a5b0de3 100644 --- a/vcg/complex/algorithms/parametrization/poisson_solver.h +++ b/vcg/complex/algorithms/parametrization/poisson_solver.h @@ -691,13 +691,13 @@ public: ///initialize the matrix ALLOCATING SPACE InitMatrix(); - if (use_direction_field) - { - bool CrossDir0 = tri::HasPerFaceAttribute(mesh,"CrossDir0"); - bool CrossDir1 = tri::HasPerFaceAttribute(mesh,"CrossDir1"); - assert(CrossDir0); - assert(CrossDir1); - } +// if (use_direction_field) +// { +// bool CrossDir0 = tri::HasPerFaceAttribute(mesh,"CrossDir0"); +// bool CrossDir1 = tri::HasPerFaceAttribute(mesh,"CrossDir1"); +// assert(CrossDir0); +// assert(CrossDir1); +// } ///build the laplacian system BuildLaplacianMatrix(fieldScale); @@ -725,7 +725,7 @@ public: printf("\n ASSIGNING COORDS \n"); } - MapCoords(true,fieldScale); + MapCoords(false,fieldScale); if (_write_messages) { t3=clock();