1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

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