mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 14:36:40 -04:00
Build the bounding sphere in the loading thread (only relevant for TerrainGrid)
This commit is contained in:
parent
9e9c028f1d
commit
b66c2abfe3
@ -222,6 +222,8 @@ osg::ref_ptr<osg::Node> ChunkManager::createChunk(float chunkSize, const osg::Ve
|
|||||||
transform->setCullingActive(false);
|
transform->setCullingActive(false);
|
||||||
geometry->setCullingActive(false);
|
geometry->setCullingActive(false);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
transform->getBound();
|
||||||
|
|
||||||
if (mSceneManager->getIncrementalCompileOperation())
|
if (mSceneManager->getIncrementalCompileOperation())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user