mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Support particle node transformations
This commit is contained in:
parent
a6351dd887
commit
89a2c69a61
@ -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…
x
Reference in New Issue
Block a user