mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-06 22:15:37 +00:00
Don't optimize billboard nodes (Fixes #3774)
This commit is contained in:
parent
d4781d419f
commit
1402e0b872
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue