(which technically I'd generated with some local changes to the .earth file importer, but that's not important).
However, this gave me a stack overflow, with the backtrace full of
> rocky.dll!rocky::MapManipulator::clearViewpoint() Line 1076 C++
rocky.dll!rocky::MapManipulator::home() Line 1148 C++
rocky.dll!rocky::MapManipulator::clearViewpoint() Line 1086 C++
rocky.dll!rocky::MapManipulator::home() Line 1148 C++
rocky.dll!rocky::MapManipulator::clearViewpoint() Line 1086 C++
rocky.dll!rocky::MapManipulator::home() Line 1148 C++
rocky.dll!rocky::MapManipulator::clearViewpoint() Line 1086 C++
rocky.dll!rocky::MapManipulator::home() Line 1148 C++
rocky.dll!rocky::MapManipulator::clearViewpoint() Line 1086 C++
rocky.dll!rocky::MapManipulator::home() Line 1148 C++
rocky.dll!rocky::MapManipulator::clearViewpoint() Line 1086 C++
rocky.dll!rocky::MapManipulator::home() Line 1148 C++
...
I believe that this is because it's trying to intersect with the terrain, which hasn't loaded yet so won't be hit, and so can't calculate the centre and distance to intersection (the basic line/plane fallback fails as the view direction is parallel to the plane), so tries rehoming the map, which starts by clearing the viewpoint, which was the thing that tried calculating the centre and distance to intersection.
I tried loading rdemo with a map containing
(which technically I'd generated with some local changes to the
.earth
file importer, but that's not important).However, this gave me a stack overflow, with the backtrace full of
I believe that this is because it's trying to intersect with the terrain, which hasn't loaded yet so won't be hit, and so can't calculate the centre and distance to intersection (the basic line/plane fallback fails as the view direction is parallel to the plane), so tries rehoming the map, which starts by clearing the viewpoint, which was the thing that tried calculating the centre and distance to intersection.