diff --git a/src/slic3r/Utils/EmbossStyleManager.hpp b/src/slic3r/Utils/EmbossStyleManager.hpp index d36f062f48..bce87d04c8 100644 --- a/src/slic3r/Utils/EmbossStyleManager.hpp +++ b/src/slic3r/Utils/EmbossStyleManager.hpp @@ -213,8 +213,8 @@ public: { return EmbossStyle::operator==(other) && projection == other.projection && - distance == other.distance && - angle == other.angle; + is_approx(distance, other.distance) && + is_approx(angle, other.angle); } // cache for view font name with maximal width in imgui