vtkGLTFImporter/vtkGLTFReader hangs when searching for URI
With a certain dataset (which seems fairly common) vtkGLTFReader and vtkGLTFImporter hangs when calling vtkURI::RemoveDotSegments
while(!empty)
...
{
std::size_t firstSegment = input.find('/', 1);
output += input.substr(0, firstSegment);
input.erase(0, firstSegment);
}
We are parsing the entire file with this code, which is taking a very long time. I think we should not be calling this but end up there anyway.