From 676a2e38807b4fba81867e43639486ca73c987da 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 9af72b13..7189e2bf 100644 --- a/simgear/scene/model/particles.cxx +++ b/simgear/scene/model/particles.cxx @@ -186,6 +186,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); }