mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 13:09:40 +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)
|
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:
|
case Nif::RC_NiBillboardNode:
|
||||||
dataVariance = osg::Object::DYNAMIC;
|
dataVariance = osg::Object::DYNAMIC;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue