-// Copyright (C) 2017 CEA/DEN, EDF R&D
+// Copyright (C) 2017-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// 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<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// File: PartSet_ExternalPointsMgr.cpp
#include <XGUI_SelectionActivate.h>
#include <XGUI_SelectionMgr.h>
+#ifdef WIN32
+#pragma warning(disable : 4456) // for nested foreach
+#endif
+
PartSet_ExternalPointsMgr::PartSet_ExternalPointsMgr(ModuleBase_IWorkshop* theWorkshop,
const CompositeFeaturePtr& theSketch)
: QObject(theWorkshop), myWorkshop(theWorkshop), mySketch(theSketch)
else
myPresentations[aPrs->object()] = aList;
foreach(AISObjectPtr anAIS, aList) {
- aDisplayer->displayAIS(anAIS, false);
+ aDisplayer->displayAIS(anAIS, false, 0, false);
aWorkshop->selectionActivate()->activateAIS(anAIS->impl<Handle(AIS_InteractiveObject)>(),
TopAbs_VERTEX, false);
}