Salome HOME
Merge branch 'gni/evolution' of https://codev-tuleap.cea.fr/plugins/git/salome/shaper...
authorGérald NICOLAS <gerald.nicolas@edf.fr>
Wed, 10 May 2023 08:39:05 +0000 (10:39 +0200)
committerGérald NICOLAS <gerald.nicolas@edf.fr>
Wed, 10 May 2023 08:39:05 +0000 (10:39 +0200)
1  2 
src/FeaturesPlugin/FeaturesPlugin_BooleanCut.cpp

index 02b5c0738a85c640c597d57bf4411d960f3b9e22,1aaa84a0f924ba0fae12878c3d766ee372f37140..310f84f12313f41cfbf51f4cc8d781b65f0f5494
@@@ -106,9 -87,6 +106,8 @@@ void FeaturesPlugin_BooleanCut::execute
    bool aUseFuzzy = boolean(USE_FUZZY_ID())->value();
    double aFuzzy = (aUseFuzzy ? real(FUZZY_PARAM_ID())->value() : -1);
  
 +  // When selecting a compound tool object, use its exploded subshapes as tool object instead.
 +  const ListOfShape aToolList = ExplodeCompounds(aTools.objects());
    // For solids cut each object with all tools.
    bool isOk = true;
    for (GeomAPI_ShapeHierarchy::iterator anObjectsIt = anObjects.begin();