X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_ExternalObjectsMgr.h;h=375b5b8f0b46a727bb55d3e632eec3103fef6a58;hb=ae42afe3e35f7d69b26ef66323c54eb9e2fe45fe;hp=59d0141584376fcebb1bc2e3132782859e4473ef;hpb=dc7d4d86b58b81684abc9b5a2be8ec30f210c2da;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_ExternalObjectsMgr.h b/src/PartSet/PartSet_ExternalObjectsMgr.h old mode 100755 new mode 100644 index 59d014158..375b5b8f0 --- a/src/PartSet/PartSet_ExternalObjectsMgr.h +++ b/src/PartSet/PartSet_ExternalObjectsMgr.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2021 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 @@ -12,10 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef PartSet_ExternalObjectsMgr_H @@ -83,6 +82,10 @@ class PARTSET_EXPORT PartSet_ExternalObjectsMgr const CompositeFeaturePtr& theSketch, const bool theTemporary); + /// Returns created external object or NULL + /// \return an object instance + ObjectPtr getExternalObjectValidated() const { return myExternalObjectValidated; } + // Removes the external presentation from the model /// \param theSketch a current sketch /// \param theFeature a current feature