mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:29:55 +00:00
Build the bounding sphere in the loading thread (only relevant for TerrainGrid)
This commit is contained in:
parent
9e9c028f1d
commit
b66c2abfe3
1 changed files with 2 additions and 0 deletions
|
@ -222,6 +222,8 @@ osg::ref_ptr<osg::Node> ChunkManager::createChunk(float chunkSize, const osg::Ve
|
|||
transform->setCullingActive(false);
|
||||
geometry->setCullingActive(false);
|
||||
}
|
||||
else
|
||||
transform->getBound();
|
||||
|
||||
if (mSceneManager->getIncrementalCompileOperation())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue