fix build error bug

This commit is contained in:
alves
2026-01-07 19:01:55 +08:00
parent 20a78cce43
commit 1f9d0e4685

View File

@@ -1330,7 +1330,9 @@ void GLCanvas3D::reset_volumes()
m_volumes.clear();
m_dirty = true;
if (wxGetApp.plater() && wxGetApp().plater()->get_notification_manager())
auto pLater = wxGetApp().plater();
if (pLater && wxGetApp().plater()->get_notification_manager())
{
_set_warning_notification(EWarning::ObjectOutside, false);
}