mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
Create TriShapes with an identity transform as a Group
This commit is contained in:
parent
6e5d9efa93
commit
6e996bf2a3
@ -527,6 +527,8 @@ namespace NifOsg
|
||||
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;
|
||||
node->setDataVariance(osg::Object::STATIC);
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user