Fixed build warnings on MSVC14 x64 in Unreal importer.
parent
39f54bf183
commit
f22d78a3d3
|
@ -333,7 +333,7 @@ void UnrealImporter::InternReadFile( const std::string& pFile,
|
||||||
std::vector<Unreal::TempMat>::iterator nt = std::find(materials.begin(),materials.end(),mat);
|
std::vector<Unreal::TempMat>::iterator nt = std::find(materials.begin(),materials.end(),mat);
|
||||||
if (nt == materials.end()) {
|
if (nt == materials.end()) {
|
||||||
// add material
|
// add material
|
||||||
tri.matIndex = materials.size();
|
tri.matIndex = static_cast<unsigned int>(materials.size());
|
||||||
mat.numFaces = 1;
|
mat.numFaces = 1;
|
||||||
materials.push_back(mat);
|
materials.push_back(mat);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue