mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
Implemented suggestion of the auto color change, if model looks like sign
This commit is contained in:
parent
c18ad5f9d6
commit
5f6253390f
4 changed files with 56 additions and 1 deletions
|
@ -1298,7 +1298,9 @@ void NotificationManager::set_in_preview(bool preview)
|
|||
m_in_preview = preview;
|
||||
for (std::unique_ptr<PopNotification> ¬ification : m_pop_notifications) {
|
||||
if (notification->get_type() == NotificationType::PlaterWarning)
|
||||
notification->hide(preview);
|
||||
notification->hide(preview);
|
||||
if (notification->get_type() == NotificationType::SignDetected)
|
||||
notification->hide(!preview);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue