Fixed incorrect m_wiping_dialog_button showing after appInit

This commit is contained in:
YuSanka 2018-10-24 12:57:23 +02:00
parent 90ecbce9bb
commit e3b4a7b206
5 changed files with 22 additions and 26 deletions

View file

@ -653,7 +653,7 @@ void GUI_App::load_current_presets()
Sidebar& GUI_App::sidebar()
{
return mainframe->m_plater->sidebar();
return plater_->sidebar();
}
ObjectManipulation* GUI_App::obj_manipul()
@ -668,17 +668,17 @@ ObjectList* GUI_App::obj_list()
Plater* GUI_App::plater()
{
return mainframe->m_plater;
return plater_;
}
wxGLCanvas* GUI_App::canvas3D()
{
return mainframe->m_plater->canvas3D();
return plater_->canvas3D();
}
ModelObjectPtrs* GUI_App::model_objects()
{
return &mainframe->m_plater->model().objects;
return &plater_->model().objects;
}
wxNotebook* GUI_App::tab_panel() const