forked from mirror/openmw-tes3mp
nifloader: override animflags instead of accumulating them
This commit is contained in:
parent
0187f2ce4c
commit
2a42c4781e
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ namespace NifOsg
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nifNode->recType == Nif::RC_NiBSAnimationNode || nifNode->recType == Nif::RC_NiBSParticleNode)
|
if (nifNode->recType == Nif::RC_NiBSAnimationNode || nifNode->recType == Nif::RC_NiBSParticleNode)
|
||||||
animflags |= nifNode->flags;
|
animflags = nifNode->flags;
|
||||||
|
|
||||||
// Hide collision shapes, but don't skip the subgraph
|
// Hide collision shapes, but don't skip the subgraph
|
||||||
// We still need to animate the hidden bones so the physics system can access them
|
// We still need to animate the hidden bones so the physics system can access them
|
||||||
|
|
Loading…
Reference in a new issue