small fix
parent
40b611b478
commit
5b7e9ccb5f
|
@ -160,7 +160,7 @@ bool GenVertexNormalsProcess::GenMeshVertexNormals (aiMesh* pMesh, unsigned int
|
||||||
// check whether we can reuse the SpatialSort of a previous step.
|
// check whether we can reuse the SpatialSort of a previous step.
|
||||||
SpatialSort* vertexFinder = nullptr;
|
SpatialSort* vertexFinder = nullptr;
|
||||||
SpatialSort _vertexFinder;
|
SpatialSort _vertexFinder;
|
||||||
ai_real posEpsilon;
|
ai_real posEpsilon = ai_real( 1e-5 );
|
||||||
if (shared) {
|
if (shared) {
|
||||||
std::vector<std::pair<SpatialSort,ai_real> >* avf;
|
std::vector<std::pair<SpatialSort,ai_real> >* avf;
|
||||||
shared->GetProperty(AI_SPP_SPATIAL_SORT,avf);
|
shared->GetProperty(AI_SPP_SPATIAL_SORT,avf);
|
||||||
|
|
Loading…
Reference in New Issue