Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Libs/Groom/GroomParameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const int mesh_smoothing_vtk_laplacian_iterations = 10;
const double mesh_smoothing_vtk_laplacian_relaxation = 1.0;
const int mesh_smoothing_vtk_windowed_sinc_iterations = 10;
const double mesh_smoothing_vtk_windowed_sinc_passband = 0.05;
const std::string alignment_method = GroomParameters::GROOM_ALIGNMENT_ICP_C;
const std::string alignment_method = GroomParameters::GROOM_ALIGNMENT_CENTER_C;
const bool alignment_enabled = true;
const bool remesh = true;

Expand Down Expand Up @@ -377,7 +377,7 @@ std::string GroomParameters::get_alignment_method() {
}
}
}
return params_.get(Keys::ALIGNMENT_METHOD, GROOM_ALIGNMENT_CENTER_C);
return params_.get(Keys::ALIGNMENT_METHOD, Defaults::alignment_method);
}

//---------------------------------------------------------------------------
Expand Down Expand Up @@ -613,8 +613,7 @@ void GroomParameters::set_shared_boundaries(const std::vector<SharedBoundary>& b
params_.set(Keys::SHARED_BOUNDARIES, boundaries_str);
}

// Clear old format keys to avoid confusion
params_.remove_entry(Keys::SHARED_BOUNDARY);
// Clear old format keys to avoid confusion (SHARED_BOUNDARY is kept: it is still the enabled flag)
params_.remove_entry(Keys::SHARED_BOUNDARY_FIRST_DOMAIN);
params_.remove_entry(Keys::SHARED_BOUNDARY_SECOND_DOMAIN);
params_.remove_entry(Keys::SHARED_BOUNDARY_TOLERANCE);
Expand Down
2 changes: 0 additions & 2 deletions Libs/Mesh/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@

set(Mesh_sources
Mesh.cpp
meshFIM.cpp
MeshUtils.cpp
MeshWarper.cpp
MeshComputeThickness.cpp
)

set(Mesh_headers
Mesh.h
meshFIM.h
MeshUtils.h
MeshWarper.h
)
Expand Down
Loading
Loading