]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Right reset of the selection attribute: to be tested on all cases
authormpv <mpv@opencascade.com>
Wed, 11 Jul 2018 11:35:23 +0000 (14:35 +0300)
committermpv <mpv@opencascade.com>
Wed, 11 Jul 2018 11:35:23 +0000 (14:35 +0300)
src/Model/Model_AttributeSelection.cpp

index 50b2ad865e7dc83747309d4ea5e3b1c678569d7d..d2456c85e199fa4bb5f7838cf14d78549250d2a8 100644 (file)
@@ -273,10 +273,8 @@ GeomShapePtr centerByEdge(GeomShapePtr theEdge, ModelAPI_AttributeSelection::Cen
 
 std::shared_ptr<GeomAPI_Shape> Model_AttributeSelection::value()
 {
-  /*
   if (!ModelAPI_AttributeSelection::isInitialized() && !myTmpContext.get() && !myTmpSubShape.get())
     return std::shared_ptr<GeomAPI_Shape>();
-  */
   CenterType aType = NOT_CENTER;
   std::shared_ptr<GeomAPI_Shape> aResult = internalValue(aType);
   return centerByEdge(aResult, aType);