Hi, I think there is also an error inside AeonixMediator::GetLinkFromPosition
when for (nodeindex_t j = nodeIndex; j < layer.Num(); j++) completes and no valid code will be found, you should decrement layer index, so
while (layerIndex >= 0 && layerIndex < aVolume.GetNavData().OctreeData.GetNumLayers())
would not hang.
Question:
Why in AeonixMediator::GetLinkFromPosition aren't you using aVolume.GetNavData().GetIndexForCode which is far cheaper than iterating over all layer nodes ?
Regards
Hi, I think there is also an error inside AeonixMediator::GetLinkFromPosition
when for (nodeindex_t j = nodeIndex; j < layer.Num(); j++) completes and no valid code will be found, you should decrement layer index, so
while (layerIndex >= 0 && layerIndex < aVolume.GetNavData().OctreeData.GetNumLayers())
would not hang.
Question:
Why in AeonixMediator::GetLinkFromPosition aren't you using aVolume.GetNavData().GetIndexForCode which is far cheaper than iterating over all layer nodes ?
Regards