Don't optimize billboard nodes (Fixes #3774)

This commit is contained in:
scrawl 2017-02-27 00:38:56 +01:00
parent d4781d419f
commit 1402e0b872

View file

@ -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