Fixed a bug in Cut gizmo - contour width was not updating correctly

This commit is contained in:
Lukas Matena 2022-12-07 16:06:43 +01:00
parent 595ef873ad
commit d2c8d628b9

View file

@ -22,7 +22,7 @@ namespace GUI {
void MeshClipper::set_behaviour(bool fill_cut, double contour_width)
{
if (fill_cut != m_fill_cut || is_approx(contour_width, m_contour_width))
if (fill_cut != m_fill_cut || ! is_approx(contour_width, m_contour_width))
m_result.reset();
m_fill_cut = fill_cut;
m_contour_width = contour_width;