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