2
0
Эх сурвалжийг харах

Initialize all members of aiMeshKey in constructor

Turo Lamminen 7 жил өмнө
parent
commit
123b9ca71a
1 өөрчлөгдсөн 4 нэмэгдсэн , 1 устгасан
  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 */