From d5cb1cd262f80239d3bcd13c41b66d9a49dfce34 Mon Sep 17 00:00:00 2001 From: Artem Zhidkov Date: Thu, 23 Jul 2020 20:12:16 +0300 Subject: [PATCH] Task #3236: Generalization of extrusion Fix regressions in unit tests --- src/FeaturesPlugin/FeaturesPlugin_Validators.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2