]> OCCT Git - occt-copy.git/commitdiff
0031354: Visualization - Dump improvement for V3d, Graphic3d, Aspect
authornds <nds@opencascade.com>
Wed, 18 Mar 2020 05:40:51 +0000 (08:40 +0300)
committernds <nds@opencascade.com>
Wed, 18 Mar 2020 05:40:51 +0000 (08:40 +0300)
src/Graphic3d/Graphic3d_Group.cxx
src/Graphic3d/Graphic3d_Structure.cxx

index 8fcdcabee09953394e2fb66fc62eadb916a94497..9ea7a7d29ba44608df87831f3cf0b38f15838e94 100644 (file)
@@ -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)
index 1cb7e0cbd642f2b446e8a9e14cd7145ace6548e9..087543115b0267a8ee75e8da7b21280475c7ea34 100644 (file)
@@ -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<Graphic3d_Structure*>::Iterator anIter (myAncestors); anIter.More(); anIter.Next())
   {