diff --git a/include/MeshUnmanaged.hpp b/include/MeshUnmanaged.hpp index c1317969..07c59726 100644 --- a/include/MeshUnmanaged.hpp +++ b/include/MeshUnmanaged.hpp @@ -39,6 +39,7 @@ class MeshUnmanaged : public ::Mesh { boneIds = nullptr; boneWeights = nullptr; boneMatrices = nullptr; + boneCount = 0; vaoId = 0; vboId = nullptr; }