Skip to content

Commit

Permalink
Fix: Typo in wrapT field name (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyphall authored and spnda committed Jun 19, 2024
1 parent fe713dc commit 4b3efe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fastgltf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4b3efe4

Please sign in to comment.