From a630c10a4253278896795e84db23994517ea3ff7 Mon Sep 17 00:00:00 2001 From: Cyphall Date: Mon, 11 Mar 2024 15:58:45 +0100 Subject: [PATCH] Fix: Typo in wrapT field name --- src/fastgltf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fastgltf.cpp b/src/fastgltf.cpp index aed66887f..11ddec027 100644 --- a/src/fastgltf.cpp +++ b/src/fastgltf.cpp @@ -5136,7 +5136,7 @@ void fg::Exporter::writeSamplers(const Asset& asset, std::string& json) { } if (it->wrapT != Wrap::Repeat) { if (json.back() != '{') json += ','; - json += R"("wrapTS":)" + std::to_string(to_underlying(it->wrapT)); + json += R"("wrapT":)" + std::to_string(to_underlying(it->wrapT)); } if (extrasWriteCallback != nullptr) {