From a6094682e8e664997bbd63c08b2e6b45bdee80d2 Mon Sep 17 00:00:00 2001 From: xypwn <54681180+xypwn@users.noreply.github.com> Date: Wed, 6 Nov 2024 04:16:18 +0100 Subject: [PATCH] Fix typo --- stingray/unit/unit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stingray/unit/unit.go b/stingray/unit/unit.go index 5dfb749..a217bd3 100644 --- a/stingray/unit/unit.go +++ b/stingray/unit/unit.go @@ -381,7 +381,7 @@ func loadMesh(gpuR io.ReadSeeker, info MeshInfo, layout MeshLayout) (Mesh, error val[i] = float32(tmp[i]) / 255.0 } default: - return Mesh{}, fmt.Errorf("expected bone index item to have format [4]float16 or [4]uint8, but got: %v", item.Format.String()) + return Mesh{}, fmt.Errorf("expected bone weight item to have format [4]float16 or [4]uint8, but got: %v", item.Format.String()) } mesh.BoneWeights = append(mesh.BoneWeights, val) case ItemBoneIdx: