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

This commit is contained in:
YuSanka committed 2021-03-12 16:35:07 +01:00
1 parent c18ad5f9d6
commit 5f6253390f
4 files changed
+56 -1

No files matched your search

+3 -1
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);
}
}