mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-04 01:09:41 +00:00
Merge pull request #1850 from Capostrophic/nodemask
Fix untextured shapes nodemask
This commit is contained in:
commit
a19d55e035
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue