Browse Source

Initialize all members of aiMeshKey in constructor

Turo Lamminen 7 years ago
parent
commit
123b9ca71a
1 changed files with 4 additions and 1 deletions
  1. 4 1
      include/assimp/anim.h

+ 4 - 1
include/assimp/anim.h

@@ -162,7 +162,10 @@ struct aiMeshKey
 
 #ifdef __cplusplus
 
-    aiMeshKey() {
+    aiMeshKey()
+    : mTime(0.0)
+    , mValue(0)
+    {
     }
 
     /** Construction from a given time and key value */