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

@ -422,7 +422,8 @@ public:
wxDataViewItem GetItemByVolumeId(int obj_idx, int volume_idx);
int GetIdByItem(wxDataViewItem& item);
int GetVolumeIdByItem(const wxDataViewItem& item);
bool IsEmpty() { return m_objects.empty(); }
void GetObjectAndVolumeIdsByItem(const wxDataViewItem& item, int& obj_idx, int& vol_idx);
bool IsEmpty() { return m_objects.empty(); }
// helper method for wxLog