mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-07-18 03:24:15 -04:00
2018.3.0b support
Refactor mesh read Fixed bug
This commit is contained in:
@ -554,8 +554,8 @@ namespace AssetStudio
|
||||
|
||||
if (hasBones && vertex->BoneIndices != nullptr)
|
||||
{
|
||||
array<unsigned char>^ boneIndices = vertex->BoneIndices;
|
||||
array<float>^ weights4 = vertex->Weights;
|
||||
auto boneIndices = vertex->BoneIndices;
|
||||
auto weights4 = vertex->Weights;
|
||||
for (int k = 0; k < weights4->Length; k++)
|
||||
{
|
||||
if (boneIndices[k] < boneList->Count && weights4[k] > 0)
|
||||
|
Reference in New Issue
Block a user