]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Correct case when the weak-named attribute is dumped in Geom mode: geometrical repres...
authormpv <mpv@opencascade.com>
Thu, 4 Oct 2018 14:20:20 +0000 (17:20 +0300)
committermpv <mpv@opencascade.com>
Thu, 4 Oct 2018 14:20:20 +0000 (17:20 +0300)
src/ModelHighAPI/ModelHighAPI_Dumper.cpp

index e7b03dd00fde6d212038676d32fbe982893f0f71..c005a8e4698064ebbc7f2b4b39190de826c681ef 100644 (file)
@@ -1094,7 +1094,7 @@ ModelHighAPI_Dumper& ModelHighAPI_Dumper::operator<<(
     myDumpBuffer << anIndex << "\", ";
     *this << aMiddlePoint;
     aStandardDump = false;
-  } if (theAttrSelect->isWeakNaming() ||
+  } else if (theAttrSelect->isWeakNaming() ||
     (myWeakNamingSelection && aShape.get() && theAttrSelect->context().get() &&
        aShape != theAttrSelect->context()->shape())) { // weak naming for local selection only
     GeomAlgoAPI_NExplode aNExplode(theAttrSelect->context()->shape(), aShape->shapeType());