diff --git a/components/isotropic_remeshing/src/wmtk/components/isotropic_remeshing/IsotropicRemeshing_smooth.cpp b/components/isotropic_remeshing/src/wmtk/components/isotropic_remeshing/IsotropicRemeshing_smooth.cpp index 6637593a9c..fa8e5a51b3 100644 --- a/components/isotropic_remeshing/src/wmtk/components/isotropic_remeshing/IsotropicRemeshing_smooth.cpp +++ b/components/isotropic_remeshing/src/wmtk/components/isotropic_remeshing/IsotropicRemeshing_smooth.cpp @@ -89,9 +89,9 @@ void IsotropicRemeshing::configure_smooth() position_for_inversion.value().mesh(), position_for_inversion.value().as())); } - // 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); } diff --git a/components/isotropic_remeshing/src/wmtk/components/isotropic_remeshing/IsotropicRemeshing_swap.cpp b/components/isotropic_remeshing/src/wmtk/components/isotropic_remeshing/IsotropicRemeshing_swap.cpp index 304d8a9ae5..e8fe7b1207 100644 --- a/components/isotropic_remeshing/src/wmtk/components/isotropic_remeshing/IsotropicRemeshing_swap.cpp +++ b/components/isotropic_remeshing/src/wmtk/components/isotropic_remeshing/IsotropicRemeshing_swap.cpp @@ -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()) {