Fixed build warnings on MSVC14 x64 in subdivision routine.

pull/1083/head
Jared Mulconry 2016-11-27 13:37:32 +11:00
parent 58e0d8c261
commit 387afcf74f
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ void CatmullClarkSubdivider::Subdivide (
} }
outmeshes.push_back(NULL);inmeshes.push_back(i); outmeshes.push_back(NULL);inmeshes.push_back(i);
maptbl.push_back(s); maptbl.push_back(static_cast<unsigned int>(s));
} }
// Do the actual subdivision on the preallocated storage. InternSubdivide // Do the actual subdivision on the preallocated storage. InternSubdivide