Kaynağa Gözat

ComputeUVMappingprocess: add missing initialization for scalar value.

Kim Kulling 9 yıl önce
ebeveyn
işleme
9d4d2b2a1c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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);