From 9235a52dceca4f285f207700ee24f69ea0c49125 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Fri, 4 May 2018 22:47:49 -0500 Subject: [PATCH] stubbed out Plater::select_object() and uncommented its use in a lambda being assigned to on_select_object. --- src/GUI/Plater.cpp | 4 ++-- src/GUI/Plater.hpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/GUI/Plater.cpp b/src/GUI/Plater.cpp index 623299215..3ac360799 100644 --- a/src/GUI/Plater.cpp +++ b/src/GUI/Plater.cpp @@ -22,8 +22,8 @@ Plater::Plater(wxWindow* parent, const wxString& title, std::shared_ptrselect_object(obj_idx); + auto on_select_object { [=](size_t& obj_idx) { + this->select_object(obj_idx); } }; /* # Initialize handlers for canvases diff --git a/src/GUI/Plater.hpp b/src/GUI/Plater.hpp index ecbec1048..726040892 100644 --- a/src/GUI/Plater.hpp +++ b/src/GUI/Plater.hpp @@ -72,6 +72,8 @@ private: bool outside_bounds {false}; MainFrame* GetFrame(); + void select_object(size_t& obj_idx) { }; + };