stubbed out Plater::select_object() and uncommented its use in a lambda being assigned to on_select_object.

This commit is contained in:
Joseph Lenox 2018-05-04 22:47:49 -05:00
parent e2fdb00bb0
commit 9235a52dce
2 changed files with 4 additions and 2 deletions

View File

@ -22,8 +22,8 @@ Plater::Plater(wxWindow* parent, const wxString& title, std::shared_ptr<Settings
wxPostEvent(this, new wxPlThreadEvent(-1, PROGRESS_BAR_EVENT,
});
*/
auto on_select_object { [=](uint32_t& obj_idx) {
// this->select_object(obj_idx);
auto on_select_object { [=](size_t& obj_idx) {
this->select_object(obj_idx);
} };
/*
# Initialize handlers for canvases

View File

@ -72,6 +72,8 @@ private:
bool outside_bounds {false};
MainFrame* GetFrame();
void select_object(size_t& obj_idx) { };
};