Skip to content

Commit

Permalink
re-enabling envelope on smooth/swap in isotropic remeshing
Browse files Browse the repository at this point in the history
  • Loading branch information
mtao committed Jan 11, 2025
1 parent a36b3c8 commit b8197a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ void IsotropicRemeshing::configure_smooth()
position_for_inversion.value().mesh(),
position_for_inversion.value().as<double>()));
}
// if (m_envelope_invariants) {
// op_smooth->add_invariant(m_envelope_invariants);
// }
if (m_envelope_invariants) {
op_smooth->add_invariant(m_envelope_invariants);
}

if (update_position) proj_op->add_transfer_strategy(update_position);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ void IsotropicRemeshing::configure_swap()
m_swap->collapse().add_invariant(internal::collapse_core_invariants(mesh, m_options));


// if (m_envelope_invariants) {
// m_swap->add_invariant(m_envelope_invariants);
// }
if (m_envelope_invariants) {
m_swap->add_invariant(m_envelope_invariants);
}


for (const auto& p : m_options.all_positions()) {
Expand Down

0 comments on commit b8197a2

Please sign in to comment.