mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-20 10:50:33 -07:00
Tech ENABLE_NEW_NOTIFICATIONS_FADE_OUT set as default
This commit is contained in:
@@ -2447,13 +2447,7 @@ void GLCanvas3D::on_idle(wxIdleEvent& evt)
|
||||
{
|
||||
if (!m_initialized)
|
||||
return;
|
||||
#if ENABLE_NEW_NOTIFICATIONS_FADE_OUT
|
||||
/*NotificationManager* notification_mgr = wxGetApp().plater()->get_notification_manager();
|
||||
if (notification_mgr->requires_update())
|
||||
notification_mgr->update_notifications();
|
||||
|
||||
m_dirty |= notification_mgr->requires_render();*/
|
||||
#endif // ENABLE_NEW_NOTIFICATIONS_FADE_OUT
|
||||
// FIXME
|
||||
m_dirty |= m_main_toolbar.update_items_state();
|
||||
m_dirty |= m_undoredo_toolbar.update_items_state();
|
||||
@@ -2462,13 +2456,6 @@ void GLCanvas3D::on_idle(wxIdleEvent& evt)
|
||||
bool mouse3d_controller_applied = wxGetApp().plater()->get_mouse3d_controller().apply(wxGetApp().plater()->get_camera());
|
||||
m_dirty |= mouse3d_controller_applied;
|
||||
|
||||
#if ENABLE_NEW_NOTIFICATIONS_FADE_OUT
|
||||
/*
|
||||
if (notification_mgr->requires_update()) {
|
||||
evt.RequestMore();
|
||||
}*/
|
||||
#endif // ENABLE_NEW_NOTIFICATIONS_FADE_OUT
|
||||
|
||||
if (!m_dirty)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user