Implemented suggestion of the auto color change, if model looks like sign

This commit is contained in:
YuSanka 2021-03-12 16:26:34 +01:00
parent c18ad5f9d6
commit 5f6253390f
4 changed files with 56 additions and 1 deletions

View file

@ -1298,7 +1298,9 @@ void NotificationManager::set_in_preview(bool preview)
m_in_preview = preview;
for (std::unique_ptr<PopNotification> &notification : m_pop_notifications) {
if (notification->get_type() == NotificationType::PlaterWarning)
notification->hide(preview);
notification->hide(preview);
if (notification->get_type() == NotificationType::SignDetected)
notification->hide(!preview);
}
}