ComputeUVMappingprocess: add missing initialization for scalar value.
authorKim Kulling <kim.kulling@googlemail.com>
Sun, 4 Sep 2016 18:35:07 +0000 (20:35 +0200)
committerKim Kulling <kim.kulling@googlemail.com>
Sun, 4 Sep 2016 18:35:07 +0000 (20:35 +0200)
code/ComputeUVMappingProcess.cpp

index 33a6f4e..ff5142f 100644 (file)
@@ -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);