diff --git a/src/raw/RawModel.cpp b/src/raw/RawModel.cpp index 40aedf5..e4f1a79 100644 --- a/src/raw/RawModel.cpp +++ b/src/raw/RawModel.cpp @@ -660,10 +660,10 @@ void RawModel::CreateMaterialModels( vertex.uv1 = defaultVertex.uv1; } if ((keep & RAW_VERTEX_ATTRIBUTE_JOINT_INDICES) == 0) { - vertex.jointIndices = defaultVertex.jointIndices; + vertex.jointIndices = defaultVertex.jointIndices; } if ((keep & RAW_VERTEX_ATTRIBUTE_JOINT_WEIGHTS) == 0) { - vertex.jointWeights = defaultVertex.jointWeights; + vertex.jointWeights = defaultVertex.jointWeights; } } diff --git a/src/raw/RawModel.hpp b/src/raw/RawModel.hpp index b790a24..aa6ce1f 100644 --- a/src/raw/RawModel.hpp +++ b/src/raw/RawModel.hpp @@ -60,8 +60,7 @@ struct RawVertex { Vec2f uv1{0.0f}; std::vector jointIndices; std::vector jointWeights; - - + std::vector skinningInfo; // end of members that directly correspond to vertex attributes