X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_SelectionMgr.h;h=6b7adae6b5361f65459c60fa0193211346d51628;hb=227323fca46747847e850a1d6e3bdaac882e209e;hp=1a4e519b3a2ad1a5e2a6323c724ba169b993a34b;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_SelectionMgr.h b/src/XGUI/XGUI_SelectionMgr.h index 1a4e519b3..6b7adae6b 100644 --- a/src/XGUI/XGUI_SelectionMgr.h +++ b/src/XGUI/XGUI_SelectionMgr.h @@ -57,6 +57,10 @@ Q_OBJECT return mySelection; } + ModuleBase_ISelection::SelectionPlace placeOfSelection() const { + return myLastSelectionPlace; + } + //! Connects the manager to all viewers accessible by Workshop void connectViewers(); @@ -111,6 +115,8 @@ private: /// Current selection object XGUI_Selection* mySelection; + + ModuleBase_ISelection::SelectionPlace myLastSelectionPlace; }; #endif