mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-24 03:12:07 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user