From 4b3efe4f3ee3ec54d3da1e1f4a26ee22b32d9536 Mon Sep 17 00:00:00 2001 From: Cyphall Date: Mon, 11 Mar 2024 16:26:35 +0100 Subject: [PATCH] Fix: Typo in wrapT field name (#56) --- src/fastgltf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fastgltf.cpp b/src/fastgltf.cpp index 33a206ff5..de9db4f71 100644 --- a/src/fastgltf.cpp +++ b/src/fastgltf.cpp @@ -5084,7 +5084,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) {