From 802b95e28dddd31f6c991b8e23ce22d7836dfac5 Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 18 Mar 2020 08:40:51 +0300 Subject: [PATCH] 0031354: Visualization - Dump improvement for V3d, Graphic3d, Aspect --- src/Graphic3d/Graphic3d_Group.cxx | 2 +- src/Graphic3d/Graphic3d_Structure.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()) { -- 2.39.5