scenery: Allow switching off bvh generation.
This commit is contained in:
parent
32ef925a79
commit
ba21713329
@ -95,6 +95,7 @@ public:
|
||||
optimizedNode = _optimizePolicy.optimize(processedNode.get(),
|
||||
fileName, opt);
|
||||
}
|
||||
if (opt->getPluginStringData("SimGear::BOUNDINGVOLUMES") != "OFF")
|
||||
_bvhPolicy.buildBVH(fileName, optimizedNode.get());
|
||||
_cachePolicy.addToCache(fileName, optimizedNode.get());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user