From b0a371ddb02c251c10f590dc1bed38709b2b9d70 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 21 Jul 2004 19:15:34 +0000 Subject: [PATCH] Added missing tex env mode --- src/osgPlugins/Inventor/ConvertFromInventor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osgPlugins/Inventor/ConvertFromInventor.cpp b/src/osgPlugins/Inventor/ConvertFromInventor.cpp index 444ce24a7..adbdcaf32 100644 --- a/src/osgPlugins/Inventor/ConvertFromInventor.cpp +++ b/src/osgPlugins/Inventor/ConvertFromInventor.cpp @@ -573,6 +573,9 @@ osg::StateSet* ConvertFromInventor::getStateSet(SoCallbackAction* action) case SoTexture2::BLEND: texEnv->setMode(osg::TexEnv::BLEND); break; + case SoTexture2::REPLACE: + texEnv->setMode(osg::TexEnv::REPLACE); + break; } stateSet->setTextureAttributeAndModes(0,texEnv,osg::StateAttribute::ON); }