]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
The problem is the vertex selection on body extrusion.
authornds <natalia.donis@opencascade.com>
Wed, 11 Feb 2015 07:16:35 +0000 (10:16 +0300)
committernds <natalia.donis@opencascade.com>
Wed, 11 Feb 2015 07:16:35 +0000 (10:16 +0300)
Scenario: create a part, create a sketch, create a closed contour, create an extrusion. Call the axis creation. The result is it is not possible to select a point on the body.

src/ModuleBase/ModuleBase_FilterNoConsructionSubShapes.cpp

index feaac1c185dd8b835166443035733f2eb9fc9570..c9c49f76b6bb496814655ff129d626f82e356535 100644 (file)
@@ -56,6 +56,8 @@ Standard_Boolean ModuleBase_FilterNoConsructionSubShapes::IsOk(const Handle(Sele
           std::dynamic_pointer_cast<ModelAPI_CompositeFeature>(aFeature);
         return aComposite && aComposite->numberOfSubs() > 0;
       }
+      else
+        return Standard_True;
     }
   }
   return Standard_False;