2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-04-21 10:58:44 +00:00

chore: use ordered_json for gltf

order is based on what blender does
7bea3666f8/addons/io_scene_gltf2/io/exp/export.py (L48)
This commit is contained in:
Jan Laupetin
2026-04-20 19:50:35 +01:00
parent 0ae7186409
commit eee44b5860
7 changed files with 16 additions and 16 deletions

View File

@@ -12,7 +12,7 @@ namespace gltf
explicit BinOutput(std::ostream& stream);
std::optional<std::string> CreateBufferUri(const void* buffer, size_t bufferSize) const override;
void EmitJson(const nlohmann::json& json) const override;
void EmitJson(const nlohmann::ordered_json& json) const override;
void EmitBuffer(const void* buffer, size_t bufferSize) const override;
void Finalize() const override;