mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 13:47:59 -06:00
Auto color change: check overhangs lust from Preview when detecting auto color changes
+ fixed typo in equivalent_areas() + Added missed include
This commit is contained in:
parent
5990f05418
commit
a4ad4ff4a9
3 changed files with 7 additions and 6 deletions
|
@ -13,6 +13,7 @@
|
|||
#include "DoubleSlider.hpp"
|
||||
#include "Plater.hpp"
|
||||
#include "MainFrame.hpp"
|
||||
#include "format.hpp"
|
||||
|
||||
#include <wx/listbook.h>
|
||||
#include <wx/notebook.h>
|
||||
|
@ -720,7 +721,7 @@ void Preview::update_layers_slider(const std::vector<double>& layers_z, bool kee
|
|||
if (i < min_solid_height)
|
||||
continue;
|
||||
|
||||
if (DoubleSlider::check_color_change(object, i, num_layers, [this, object](Layer*) {
|
||||
if (DoubleSlider::check_color_change(object, i, num_layers, true, [this, object](Layer*) {
|
||||
NotificationManager* notif_mngr = wxGetApp().plater()->get_notification_manager();
|
||||
notif_mngr->push_notification(
|
||||
NotificationType::SignDetected, NotificationManager::NotificationLevel::PrintInfoNotificationLevel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue