From: nds Date: Wed, 18 Mar 2020 05:40:51 +0000 (+0300) Subject: 0031354: Visualization - Dump improvement for V3d, Graphic3d, Aspect X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=802b95e28dddd31f6c991b8e23ce22d7836dfac5;p=occt-copy.git 0031354: Visualization - Dump improvement for V3d, Graphic3d, Aspect --- diff --git a/src/Graphic3d/Graphic3d_Group.cxx b/src/Graphic3d/Graphic3d_Group.cxx index 8fcdcabee0..9ea7a7d29b 100644 --- a/src/Graphic3d/Graphic3d_Group.cxx +++ b/src/Graphic3d/Graphic3d_Group.cxx @@ -458,7 +458,7 @@ void Graphic3d_Group::DumpJson (Standard_OStream& theOStream, Standard_Integer t OCCT_DUMP_FIELD_VALUE_POINTER (theOStream, this) - OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myStructure) + OCCT_DUMP_FIELD_VALUE_POINTER (theOStream, myStructure) OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myBounds) OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsClosed) diff --git a/src/Graphic3d/Graphic3d_Structure.cxx b/src/Graphic3d/Graphic3d_Structure.cxx index 1cb7e0cbd6..087543115b 100644 --- a/src/Graphic3d/Graphic3d_Structure.cxx +++ b/src/Graphic3d/Graphic3d_Structure.cxx @@ -1039,7 +1039,7 @@ void Graphic3d_Structure::DumpJson (Standard_OStream& theOStream, Standard_Integ OCCT_DUMP_TRANSIENT_CLASS_BEGIN (theOStream) OCCT_DUMP_FIELD_VALUE_POINTER (theOStream, myStructureManager) - OCCT_DUMP_FIELD_VALUE_POINTER (theOStream, myCStructure) + OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myCStructure.get()) for (NCollection_IndexedMap::Iterator anIter (myAncestors); anIter.More(); anIter.Next()) {