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

Fixed: Initialize members in LWOFileData

Richard 10 жил өмнө
parent
commit
3553c4aff2
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      code/LWOFileData.h

+ 2 - 0
code/LWOFileData.h

@@ -433,6 +433,7 @@ struct Texture
     Texture()
         : mClipIdx(UINT_MAX)
         , mStrength         (1.0f)
+        , type()
         , mUVChannelIndex   ("unknown")
         , mRealUVIndex      (UINT_MAX)
         , enabled           (true)
@@ -499,6 +500,7 @@ struct Clip
 
     Clip()
         : type   (UNSUPPORTED)
+        , clipRef()
         , idx    (0)
         , negate (false)
     {}