From 0970bb1be26d9b9443547ac9a96118404d8d29e3 Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 22 Mar 2021 19:28:14 +0000 Subject: [PATCH] Fix for local particle update See issue at: https://sourceforge.net/p/flightgear/codetickets/2568/ --- simgear/scene/model/particles.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/simgear/scene/model/particles.cxx b/simgear/scene/model/particles.cxx index c06b01c9..5a817d0e 100644 --- a/simgear/scene/model/particles.cxx +++ b/simgear/scene/model/particles.cxx @@ -187,6 +187,7 @@ void ParticlesGlobalManager::initFromMainThread() std::lock_guard g(d->_lock); d->internalGetCommonRoot(); d->_commonRoot->addUpdateCallback(d.get()); + d->_commonRoot->setCullingActive(false); d->_commonRoot->addCullCallback(d->_cullCallback); }