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

Fixed: Initialize members in UnrealLoader

Richard 10 жил өмнө
parent
commit
32a460f667

+ 3 - 1
code/UnrealLoader.h

@@ -82,7 +82,9 @@ struct Triangle {
 // temporary representation for a material
 // temporary representation for a material
 struct TempMat  {
 struct TempMat  {
     TempMat()
     TempMat()
-        :   numFaces    (0)
+        :   type()
+        ,   tex()
+        ,   numFaces    (0)
     {}
     {}
 
 
     TempMat(const Triangle& in)
     TempMat(const Triangle& in)