diff --git a/code/glTF2Asset.inl b/code/glTF2Asset.inl index 0a3e2b051..47904b38f 100644 --- a/code/glTF2Asset.inl +++ b/code/glTF2Asset.inl @@ -934,11 +934,8 @@ inline void Node::Read(Value& obj, Asset& r) } if (Value* mesh = FindUInt(obj, "mesh")) { - //unsigned numMeshes = (unsigned)meshes->Size(); unsigned numMeshes = 1; - //std::vector meshList; - this->meshes.reserve(numMeshes); Ref meshRef = r.meshes.Retrieve((*mesh).GetUint());