Don't optimize billboard nodes (Fixes #3774)

pull/175/head
scrawl 8 years ago
parent d4781d419f
commit 1402e0b872

@ -528,6 +528,9 @@ namespace NifOsg
node = new osg::Group; node = new osg::Group;
dataVariance = osg::Object::STATIC; dataVariance = osg::Object::STATIC;
break; break;
case Nif::RC_NiBillboardNode:
dataVariance = osg::Object::DYNAMIC;
break;
default: default:
// The Root node can be created as a Group if no transformation is required. // 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 // This takes advantage of the fact root nodes can't have additional controllers

Loading…
Cancel
Save