Skip to content

Commit 486b038

Browse files
committed
Changed read type to iterative
1 parent d8bdd40 commit 486b038

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GLTFSDK/Inc/GLTFSDK/RapidJsonUtils.h

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ Please do not include their headers and this header in the same cpp file.
1717
#define RAPIDJSON_NAMESPACE_BEGIN namespace Microsoft { namespace glTF { namespace rapidjson {
1818
#define RAPIDJSON_NAMESPACE_END }}}
1919

20+
// Adding iterative parse flag to prevent stack overflow issue
21+
#define RAPIDJSON_PARSE_DEFAULT_FLAGS RAPIDJSON_NAMESPACE::ParseFlag::kParseIterativeFlag
22+
2023

2124
// RapidJSON uses constant if expressions to support multiple platforms
2225
#pragma warning(push)

0 commit comments

Comments
 (0)