mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 21:52:02 +08:00
stubbed out Plater::select_object() and uncommented its use in a lambda being assigned to on_select_object.
This commit is contained in:
parent
e2fdb00bb0
commit
9235a52dce
@ -22,8 +22,8 @@ Plater::Plater(wxWindow* parent, const wxString& title, std::shared_ptr<Settings
|
|||||||
wxPostEvent(this, new wxPlThreadEvent(-1, PROGRESS_BAR_EVENT,
|
wxPostEvent(this, new wxPlThreadEvent(-1, PROGRESS_BAR_EVENT,
|
||||||
});
|
});
|
||||||
*/
|
*/
|
||||||
auto on_select_object { [=](uint32_t& obj_idx) {
|
auto on_select_object { [=](size_t& obj_idx) {
|
||||||
// this->select_object(obj_idx);
|
this->select_object(obj_idx);
|
||||||
} };
|
} };
|
||||||
/*
|
/*
|
||||||
# Initialize handlers for canvases
|
# Initialize handlers for canvases
|
||||||
|
@ -72,6 +72,8 @@ private:
|
|||||||
bool outside_bounds {false};
|
bool outside_bounds {false};
|
||||||
MainFrame* GetFrame();
|
MainFrame* GetFrame();
|
||||||
|
|
||||||
|
void select_object(size_t& obj_idx) { };
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user