update:
- remove dead code. - check for a possible division by zero. Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
This commit is contained in:
@@ -174,7 +174,6 @@ void FindInstancesProcess::Execute( aiScene* pScene)
|
||||
|
||||
// use a constant epsilon for colors and UV coordinates
|
||||
static const float uvEpsilon = 10e-4f;
|
||||
|
||||
{
|
||||
unsigned int i, end = orig->GetNumUVChannels();
|
||||
for(i = 0; i < end; ++i) {
|
||||
@@ -260,7 +259,7 @@ void FindInstancesProcess::Execute( aiScene* pScene)
|
||||
pScene->mMeshes[real++] = pScene->mMeshes[i];
|
||||
}
|
||||
|
||||
// And update the nodegraph with our nice lookup table
|
||||
// And update the node graph with our nice lookup table
|
||||
UpdateMeshIndices(pScene->mRootNode,remapping.get());
|
||||
|
||||
// write to log
|
||||
|
||||
Reference in New Issue
Block a user