From f60dc9dd94d5d4b0ea07e3e3cbfd5b3028f0942d Mon Sep 17 00:00:00 2001 From: mpv Date: Thu, 4 Oct 2018 17:20:20 +0300 Subject: [PATCH] Correct case when the weak-named attribute is dumped in Geom mode: geometrical representation must be dumped only. --- src/ModelHighAPI/ModelHighAPI_Dumper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModelHighAPI/ModelHighAPI_Dumper.cpp b/src/ModelHighAPI/ModelHighAPI_Dumper.cpp index e7b03dd00..c005a8e46 100644 --- a/src/ModelHighAPI/ModelHighAPI_Dumper.cpp +++ b/src/ModelHighAPI/ModelHighAPI_Dumper.cpp @@ -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()); -- 2.39.2