From 9ee99a751c21d84c8bee7211ed25bd62a8a5ca3a Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 24 Mar 2015 23:40:37 +0100 Subject: [PATCH] Stop warning about NiDitherProperty, ignore NiShadeProperty (unused) --- components/nifosg/nifloader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/nifosg/nifloader.cpp b/components/nifosg/nifloader.cpp index 45619b21b..199fdb984 100644 --- a/components/nifosg/nifloader.cpp +++ b/components/nifosg/nifloader.cpp @@ -1294,10 +1294,10 @@ namespace NifOsg } break; } + // unused by mw + case Nif::RC_NiShadeProperty: case Nif::RC_NiDitherProperty: { - stateset->setMode(GL_DITHER, property->flags != 0 ? osg::StateAttribute::ON - : osg::StateAttribute::OFF); break; } default: