From 50eec57d75066b12a7f747e0a08241177e228d0c Mon Sep 17 00:00:00 2001 From: Ada Date: Mon, 2 Oct 2023 11:00:32 +0100 Subject: [PATCH] fix syntax errors --- include/rivet/gfx/model.hpp | 3 ++- src/gfx/model.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/rivet/gfx/model.hpp b/include/rivet/gfx/model.hpp index 6c272d9c9..a7b6719aa 100644 --- a/include/rivet/gfx/model.hpp +++ b/include/rivet/gfx/model.hpp @@ -19,6 +19,7 @@ #include #include #include +#include #include namespace rivet { @@ -114,7 +115,7 @@ namespace rivet { rivet::rivet_vec3f center_of_mass {}; rivet::rivet_vec2f extent {}; - model_subset_flags flags {}; + rivet::structures::gfx::model_subset_flags flags {}; int32_t material_id; }; diff --git a/src/gfx/model.cpp b/src/gfx/model.cpp index e909f126c..3e090eb0c 100644 --- a/src/gfx/model.cpp +++ b/src/gfx/model.cpp @@ -205,7 +205,7 @@ namespace rivet::gfx { auto morph_array = subset["morphs"] = nlohmann::json::array(); for (const auto &morph_info : subset_info.morphs) { - morph_array.emplace_back(morph_info.name) + morph_array.emplace_back(morph_info.name); } }