From 1402e0b872e1cd1a76ccce748bf07d754fce6b75 Mon Sep 17 00:00:00 2001 From: scrawl Date: Mon, 27 Feb 2017 00:38:56 +0100 Subject: [PATCH] Don't optimize billboard nodes (Fixes #3774) --- components/nifosg/nifloader.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/nifosg/nifloader.cpp b/components/nifosg/nifloader.cpp index afe38b9bc..cade74147 100644 --- a/components/nifosg/nifloader.cpp +++ b/components/nifosg/nifloader.cpp @@ -528,6 +528,9 @@ namespace NifOsg node = new osg::Group; dataVariance = osg::Object::STATIC; break; + case Nif::RC_NiBillboardNode: + dataVariance = osg::Object::DYNAMIC; + break; default: // The Root node can be created as a Group if no transformation is required. // This takes advantage of the fact root nodes can't have additional controllers