1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-06-04 06:11:33 +00:00

Fix nodemask

This commit is contained in:
Capostrophic 2018-08-07 20:49:10 +03:00
parent a9729878d7
commit bda23c6ad6

View file

@ -575,7 +575,7 @@ namespace NifOsg
// Make sure we don't render untextured shapes // Make sure we don't render untextured shapes
if (nifNode->recType == Nif::RC_NiTriShape && boundTextures.empty()) if (nifNode->recType == Nif::RC_NiTriShape && boundTextures.empty())
node->setNodeMask(0x1); node->setNodeMask(0x0);
if(nifNode->recType == Nif::RC_NiAutoNormalParticles || nifNode->recType == Nif::RC_NiRotatingParticles) if(nifNode->recType == Nif::RC_NiAutoNormalParticles || nifNode->recType == Nif::RC_NiRotatingParticles)
handleParticleSystem(nifNode, node, composite, animflags, rootNode); handleParticleSystem(nifNode, node, composite, animflags, rootNode);