-
Hi everyone |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @bytetec. The json logger has not been updated for quite a while but we have bumped up the version of rapidjson in our build. We will need to investigate this further as there is no obvious bug reported upstream in rapidjson. |
Beta Was this translation helpful? Give feedback.
-
Hi, This does appear to be a bug. As noted in #1205, when However it appears, although Thanks for spotting it, our test suite doesn't currently test the status of output files for the pretty print setting being observed. It's low priority and a bit of a grim fix. I've not formally got any time allocated for maintaining FLAMEGPU currently, so I can't promise when it will be resolved. |
Beta Was this translation helpful? Give feedback.
Hi,
This does appear to be a bug. As noted in #1205, when
JSONStateWriter
was overhauled to allow partial agent state to be exported the handling of RapidJSON'sWriter
/PrettyWriter
was changed from using templating to C++ inheritance.However it appears, although
PrettyWriter
is a subclass ofWriter
it's methods are none-virtual. What this means is that if we cast aPrettyWriter*
toWriter*
and use the writing methods, they are not forwarded to thePrettyWriter
subclass.Thanks for spotting it, our test suite doesn't currently test the status of output files for the pretty print setting being observed.
It's low priority and a bit of a grim fix. I've not formally got any time allocated for…