Fix for local particle update
See issue at: https://sourceforge.net/p/flightgear/codetickets/2568/
This commit is contained in:
parent
4c89e8a9d5
commit
676a2e3880
@ -186,6 +186,7 @@ void ParticlesGlobalManager::initFromMainThread()
|
||||
std::lock_guard<std::mutex> g(d->_lock);
|
||||
d->internalGetCommonRoot();
|
||||
d->_commonRoot->addUpdateCallback(d.get());
|
||||
d->_commonRoot->setCullingActive(false);
|
||||
d->_commonRoot->addCullCallback(d->_cullCallback);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user