mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-07 19:30:04 -04:00
nifloader: override animflags instead of accumulating them
This commit is contained in:
parent
0187f2ce4c
commit
2a42c4781e
@ -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…
x
Reference in New Issue
Block a user