Changeset 9585
- Timestamp:
- 01/29/09 12:03:38 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/Inventor/ConvertFromInventor.cpp
r9451 r9585 590 590 texEnv->setMode(osg::TexEnv::BLEND); 591 591 break; 592 592 #if defined(__COIN__) && ((COIN_MAJOR_VERSION==2 && COIN_MINOR_VERSION>=2) || (COIN_MAJOR_VERSION>2)) 593 593 // SGI's Inventor does not have REPLACE mode, but the Coin 3D library does. 594 594 // Coin supports REPLACE since 2.2 release, TGS Inventor from 4.0. 595 595 // Let's convert to the TexEnv anyway. 596 case (SoTexture2::Model)GL_REPLACE: // SoTexture2::REPLACE is the same as GL_REPLACE596 case SoTexture2::REPLACE: 597 597 texEnv->setMode(osg::TexEnv::REPLACE); 598 598 break; 599 #endif 600 default: 601 break; 602 599 603 } 600 604 stateSet->setTextureAttributeAndModes(0,texEnv.get(),osg::StateAttribute::ON);
