mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 19:35:55 +08:00
Fixed an issue with MM and supports layering
This commit is contained in:
parent
dfb70ec6e6
commit
c5448514ac
@ -66,8 +66,10 @@ public:
|
|||||||
wipe_tower_partitions(0),
|
wipe_tower_partitions(0),
|
||||||
wipe_tower_layer_height(0.) {}
|
wipe_tower_layer_height(0.) {}
|
||||||
|
|
||||||
bool operator< (const LayerTools &rhs) const { return print_z - EPSILON < rhs.print_z; }
|
// Changing these operators to epsilon version can make a problem in cases where support and object layers get close to each other.
|
||||||
bool operator==(const LayerTools &rhs) const { return std::abs(print_z - rhs.print_z) < EPSILON; }
|
// In case someone tries to do it, make sure you know what you're doing and test it properly (slice multiple objects at once with supports).
|
||||||
|
bool operator< (const LayerTools &rhs) const { return print_z < rhs.print_z; }
|
||||||
|
bool operator==(const LayerTools &rhs) const { return print_z == rhs.print_z; }
|
||||||
|
|
||||||
bool is_extruder_order(unsigned int a, unsigned int b) const;
|
bool is_extruder_order(unsigned int a, unsigned int b) const;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user