Avoid infinite recursion crashes with wider octree range

This commit is contained in:
Latif Khalifa
2013-09-11 23:28:26 +02:00
parent 312a58584e
commit 3d6b94d2ed

View File

@@ -623,6 +623,9 @@ public:
child->insert(data);
}
}
// Singu note: now that we allow wider range in octree, discard them here
// if they fall out of range
#if 0
else
{
//it's not in here, give it to the root
@@ -641,6 +644,7 @@ public:
node->insert(data);
}
}
#endif
return false;
}