From: Artem Zhidkov Date: Thu, 23 Jul 2020 17:12:16 +0000 (+0300) Subject: Task #3236: Generalization of extrusion X-Git-Tag: V9_6_0a1~44 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d5cb1cd262f80239d3bcd13c41b66d9a49dfce34;p=modules%2Fshaper.git Task #3236: Generalization of extrusion Fix regressions in unit tests --- diff --git a/src/FeaturesPlugin/FeaturesPlugin_Validators.cpp b/src/FeaturesPlugin/FeaturesPlugin_Validators.cpp index 6c3c1d9f7..163ed998d 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Validators.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Validators.cpp @@ -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;