Fixed events OBJECT_SETTINGS_CHANGED_EVENT , OBJECT_REMOVE_EVENT and UPDATE_SCENE_EVENT

+ changed ctor of ObjList
+ deleted unusable code from Tab.cpp
This commit is contained in:
YuSanka 2018-10-08 16:27:38 +02:00
parent 04e193011c
commit 1006cd976e
11 changed files with 123 additions and 292 deletions

View file

@ -171,7 +171,7 @@ void ObjectManipulation::update_settings_list()
m_settings_list_sizer->Clear(true);
bool show_manipulations = true;
auto objects_ctrl = wxGetApp().obj_list()->m_objects_ctrl;
auto objects_ctrl = wxGetApp().obj_list();
auto objects_model = wxGetApp().obj_list()->m_objects_model;
auto config = wxGetApp().obj_list()->m_config;
@ -259,7 +259,7 @@ void ObjectManipulation::update_settings_list()
#endif
parent->Layout();
/*wxGetApp().sidebar().*/parent->GetParent()->Layout();
parent->GetParent()->Layout();
}
void ObjectManipulation::update_values()