From 618159425170dd0e19b75a401733796e039f813e Mon Sep 17 00:00:00 2001 From: scrawl Date: Sat, 5 Dec 2015 00:04:23 +0100 Subject: [PATCH] Disable freezeOnCull for magic projectile particles --- apps/openmw/mwworld/projectilemanager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/openmw/mwworld/projectilemanager.cpp b/apps/openmw/mwworld/projectilemanager.cpp index 80eab27cd..e087478b3 100644 --- a/apps/openmw/mwworld/projectilemanager.cpp +++ b/apps/openmw/mwworld/projectilemanager.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include "../mwworld/manualref.hpp" #include "../mwworld/class.hpp" @@ -92,6 +93,9 @@ namespace MWWorld mResourceSystem->getSceneManager()->createInstance(model, attachTo); + SceneUtil::DisableFreezeOnCullVisitor disableFreezeOnCullVisitor; + state.mNode->accept(disableFreezeOnCullVisitor); + mParent->addChild(state.mNode); state.mEffectAnimationTime.reset(new MWRender::EffectAnimationTime);