Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xypwn committed Nov 6, 2024
1 parent 5782ab0 commit a609468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stingray/unit/unit.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a609468

Please sign in to comment.