X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_SelectionMgr.h;h=5139d19297759716eb2e585f9b371e4c7990743a;hb=fc72d43b677baa05ae7fd317346fd8b723b799ed;hp=1a4e519b3a2ad1a5e2a6323c724ba169b993a34b;hpb=6e421e939851e0de46554ae45a3ca0e1f67cd91d;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_SelectionMgr.h b/src/XGUI/XGUI_SelectionMgr.h index 1a4e519b3..5139d1929 100644 --- a/src/XGUI/XGUI_SelectionMgr.h +++ b/src/XGUI/XGUI_SelectionMgr.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -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