From 85208eff7f1bd938038042e80fbd6fd428c12f0a Mon Sep 17 00:00:00 2001 From: Capostrophic <21265616+Capostrophic@users.noreply.github.com> Date: Wed, 8 Aug 2018 21:06:12 +0300 Subject: [PATCH] Revert untextured shapes rendering changes --- CHANGELOG.md | 1 - components/nifosg/nifloader.cpp | 4 ---- 2 files changed, 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a28661372..9bacf11f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,7 +65,6 @@ Bug #4475: Scripted animations should not cause movement Bug #4479: "Game" category on Advanced page is getting too long Bug #4480: Segfault in QuickKeysMenu when item no longer in inventory - Bug #4483: Shapes without NiTexturingProperty are rendered Bug #4489: Goodbye doesn't block dialogue hyperlinks Bug #4490: PositionCell on player gives "Error: tried to add local script twice" Bug #4494: Training cap based off Base Skill instead of Modified Skill diff --git a/components/nifosg/nifloader.cpp b/components/nifosg/nifloader.cpp index 6d2a01f5d..4e7f6d511 100644 --- a/components/nifosg/nifloader.cpp +++ b/components/nifosg/nifloader.cpp @@ -573,10 +573,6 @@ namespace NifOsg } } - // Make sure we don't render untextured shapes - if (nifNode->recType == Nif::RC_NiTriShape && boundTextures.empty()) - node->setNodeMask(0x0); - if(nifNode->recType == Nif::RC_NiAutoNormalParticles || nifNode->recType == Nif::RC_NiRotatingParticles) handleParticleSystem(nifNode, node, composite, animflags, rootNode);