Added correct deleting of the selected objects(parts, mix)

but only in "ObjectList->Scene" direction
This commit is contained in:
YuSanka 2018-10-12 12:00:37 +02:00
parent 0bc99f3f65
commit b7980f6b9b
7 changed files with 88 additions and 42 deletions

View file

@ -148,7 +148,7 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent):
int ObjectManipulation::ol_selection()
{
return wxGetApp().sidebar().get_ol_selection();
return wxGetApp().obj_list()->get_selected_obj_idx();
}
void ObjectManipulation::update_settings_list()