mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 17:05:53 +08:00
Fix compare of styles to accept not exactly same floats value for style
This commit is contained in:
parent
6bd9c50c7a
commit
cecbd8aef1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user