-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-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
#include <GeomAlgoAPI_CompoundBuilder.h>
#include <GeomAlgoAPI_ShapeTools.h>
-typedef std::set<GeomShapePtr, GeomAPI_Shape::ComparatorWithOri> SetOfShape;
+typedef std::set<GeomShapePtr, GeomAPI_Shape::Comparator> SetOfShape;
CollectionPlugin_GroupSubstraction::CollectionPlugin_GroupSubstraction()
{
removeResults(0);
}
else {
+ // update the type of selection
+ updateGroupType(LIST_ID());
+
GeomShapePtr aCompound = GeomAlgoAPI_CompoundBuilder::compound(aCut);
aGroup->store(aCompound);
setResult(aGroup);