浏览代码

ComputeUVMappingprocess: add missing initialization for scalar value.

Kim Kulling 9 年之前
父节点
当前提交
9d4d2b2a1c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/ComputeUVMappingProcess.cpp

+ 1 - 1
code/ComputeUVMappingProcess.cpp

@@ -437,7 +437,7 @@ void ComputeUVMappingProcess::Execute( aiScene* pScene)
                         }
                     }
 
-                    unsigned int idx;
+                    unsigned int idx( 99999999 );
 
                     // Check whether we have this mapping mode already
                     std::list<MappingInfo>::iterator it = std::find (mappingStack.begin(),mappingStack.end(), info);