浏览代码

Fixed: Initialize members in LWOFileData

Richard 10 年之前
父节点
当前提交
3553c4aff2
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      code/LWOFileData.h

+ 2 - 0
code/LWOFileData.h

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