mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Auto color change: Fixed some cases:
* first layer is a little bit less than all another (like for elephant foot compensation) * ignore small changes of the layer area
This commit is contained in:
@@ -2057,6 +2057,10 @@ void Control::auto_color_change()
|
||||
break;
|
||||
|
||||
if (prev_area - cur_area > delta_area) {
|
||||
// Check percent of the area decrease.
|
||||
// Ignore it, if this value is less than 10%
|
||||
if (cur_area / prev_area > 0.9)
|
||||
continue;
|
||||
int tick = get_tick_from_value(layer->print_z);
|
||||
if (tick >= 0 && !m_ticks.has_tick(tick)) {
|
||||
if (m_mode == SingleExtruder) {
|
||||
|
||||
Reference in New Issue
Block a user