mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 12:39:41 +00:00
Support particle node transformations
This commit is contained in:
parent
a6351dd887
commit
89a2c69a61
1 changed files with 0 additions and 8 deletions
|
@ -496,14 +496,6 @@ namespace NifOsg
|
|||
|
||||
switch (nifNode->recType)
|
||||
{
|
||||
case Nif::RC_NiAutoNormalParticles:
|
||||
case Nif::RC_NiRotatingParticles:
|
||||
// Leaf nodes in the NIF hierarchy, so won't be able to dynamically attach children.
|
||||
// No support for keyframe controllers (just crashes in the original engine).
|
||||
if (nifNode->trafo.isIdentity())
|
||||
node = new osg::Group;
|
||||
dataVariance = osg::Object::STATIC;
|
||||
break;
|
||||
case Nif::RC_NiBillboardNode:
|
||||
dataVariance = osg::Object::DYNAMIC;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue