]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Task #3236: Generalization of extrusion
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Thu, 23 Jul 2020 17:12:16 +0000 (20:12 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Thu, 23 Jul 2020 17:12:16 +0000 (20:12 +0300)
Fix regressions in unit tests

src/FeaturesPlugin/FeaturesPlugin_Validators.cpp

index 6c3c1d9f77161b920c23527426c0cedaf6028577..163ed998da1c5c79c86144a9a23113ade9ac656c 100644 (file)
@@ -415,6 +415,9 @@ bool FeaturesPlugin_ValidatorBaseForGeneration::isValidAttribute(const Attribute
     case GeomValidators_ShapeType::Face:
       anApplicableTypes.push_back("face");
       anApplicableTypes.push_back("shell");
+      // wire should not be the first in this list to be able to check
+      // the type of selection when evaluating shape by shape
+      anApplicableTypes.push_back("wire");
       break;
     default:
       anApplicableTypes = theArguments;