Don't optimize billboard nodes (Fixes #3774)

0.6.1
scrawl 8 years ago
parent d4781d419f
commit 1402e0b872

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

Loading…
Cancel
Save