]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/FeaturesPlugin_Validators.cpp
Salome HOME
Issue #2561: CEA 2018-1 Cut
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Validators.cpp
index 4c558d9259be52b2727919250f0f9fbae051bcae..c62648649936a3bb113ea9e73fa10352b3d6099b 100644 (file)
@@ -617,7 +617,9 @@ bool FeaturesPlugin_ValidatorBooleanSelection::isValid(const AttributePtr& theAt
       anAllowedTypes.insert(GeomAPI_Shape::SOLID);
       anAllowedTypes.insert(GeomAPI_Shape::COMPSOLID);
       anAllowedTypes.insert(GeomAPI_Shape::COMPOUND);
-    } else if (anOperationType == FeaturesPlugin_Boolean::BOOL_FILL) {
+    } else if (anOperationType == FeaturesPlugin_Boolean::BOOL_FILL
+               || anOperationType == FeaturesPlugin_Boolean::BOOL_CUT)
+    {
       anAllowedTypes.insert(GeomAPI_Shape::VERTEX);
       anAllowedTypes.insert(GeomAPI_Shape::EDGE);
       anAllowedTypes.insert(GeomAPI_Shape::WIRE);