Salome HOME
Revert "Issue #2593: CEA 2018-2 Geometrical Naming"
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Validators.cpp
index 0470dd73e7302a7f5588dd3a996063ab837c8865..b991e38f0b58914f2463c27ba09d21f9d4d5d4b9 100644 (file)
@@ -474,11 +474,6 @@ bool FeaturesPlugin_ValidatorExtrusionDir::isValid(
       if(aContext.get()) {
         aDirShape = aContext->shape();
       }
-
-      if (aDirShape.get() && aDirShape->isCompound()) {
-        GeomAPI_ShapeIterator anIt(aDirShape);
-        aDirShape = anIt.current();
-      }
     }
   }