#2528 - New project command automatically switches to 3D editor view

This commit is contained in:
Enrico Turri 2019-06-18 14:45:10 +02:00
parent a892fa6105
commit b001eca21f

View File

@ -3322,6 +3322,7 @@ SLAPrint& Plater::sla_print() { return p->sla_print; }
void Plater::new_project()
{
p->select_view_3D("3D");
wxPostEvent(p->view3D->get_wxglcanvas(), SimpleEvent(EVT_GLTOOLBAR_DELETE_ALL));
}