ENH: Revert "[STUDIO-3980] drag object accross plate in ObjectList"

This reverts commit 3c723583743938848db8392bddffc31ae7e68b6d.

Change-Id: Ie2500ede6c1839b88fd89666596a7d16957a2443
Jira: STUDIO-3980
This commit is contained in:
chunmao.guo
2023-08-28 17:37:01 +08:00
committed by Lane.Wei
parent 24e672a0f1
commit d1ed562622
4 changed files with 18 additions and 92 deletions

View File

@@ -144,12 +144,9 @@ private:
m_type = type;
}
bool set_cur_plate(int plate);
void clear() {
m_obj_idx = -1;
m_vol_idx = -1;
m_last_plate = -1;
m_inst_idxs.clear();
m_type = itUndef;
}
@@ -162,10 +159,8 @@ private:
private:
int m_obj_idx = -1;
int m_vol_idx = -1;
int m_last_plate = -1;
std::set<int> m_inst_idxs{};
ItemType m_type = itUndef;
wxDateTime m_last_plate_time;
} m_dragged_data;
@@ -463,9 +458,6 @@ public:
void object_config_options_changed(const ObjectVolumeID& ov_id);
void printable_state_changed(const std::vector<ObjectVolumeID>& ov_ids);
bool is_dragging() const { return m_dragged_data.type() != itUndef; }
void cancel_drag();
// search objectlist
void search_object_list();
void append_found_list(wxString current_search_text, wxDataViewItem item);