WS3.0 : Fix fgelev by forcing load of detailed LoD
Previously the BVH tree used by fgelev did not load the lowest LOD tiles in WS3.0 resulting in incorrec elevation values being returned. This changes forces the BVH tree to flatten and load all the nodes of the tree.
This commit is contained in:
parent
78797e28aa
commit
aae2d5d095
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ main(int argc, char** argv)
|
|||
|
||||
// Get the whole world bvh tree
|
||||
SGSharedPtr<sg::BVHNode> node;
|
||||
node = sg::BVHPageNodeOSG::load(bvhFile, options);
|
||||
node = sg::BVHPageNodeOSG::load(bvhFile, options, true);
|
||||
|
||||
// if no model has been successfully loaded report failure.
|
||||
if (!node.valid()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue