small fix

pull/3042/head
iamAdrianIusca 2020-04-23 23:48:35 +03:00
parent 40b611b478
commit 5b7e9ccb5f
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ bool GenVertexNormalsProcess::GenMeshVertexNormals (aiMesh* pMesh, unsigned int
// check whether we can reuse the SpatialSort of a previous step.
SpatialSort* vertexFinder = nullptr;
SpatialSort _vertexFinder;
ai_real posEpsilon;
ai_real posEpsilon = ai_real( 1e-5 );
if (shared) {
std::vector<std::pair<SpatialSort,ai_real> >* avf;
shared->GetProperty(AI_SPP_SPATIAL_SORT,avf);