From e342a34f9c9cc6038baaad63451d07f7c3e0e96b Mon Sep 17 00:00:00 2001 From: inspectredc <78732756+inspectredc@users.noreply.github.com> Date: Tue, 9 Jul 2024 00:18:48 +0100 Subject: read the correct movtex count field (#142) --- src/factories/sm64/MovtexFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/factories/sm64/MovtexFactory.cpp b/src/factories/sm64/MovtexFactory.cpp index 64f01f4..5e4afd9 100644 --- a/src/factories/sm64/MovtexFactory.cpp +++ b/src/factories/sm64/MovtexFactory.cpp @@ -115,7 +115,7 @@ std::optional> SM64::MovtexFactory::parse(std::vect // Otherwise we need to know the count of vertices and the colour attribute if (!isQuad) { if (node["count"]) { - count = GetSafeNode(node, "quad"); + count = GetSafeNode(node, "count"); } else { SPDLOG_WARN("Non quad movtex needs count field"); } -- cgit v1.2.3