Build fix
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14849 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
1020e22c33
commit
54b389a18a
@ -1378,7 +1378,7 @@ ReaderWriter3DS::StateSetInfo ReaderWriter3DS::ReaderObject::createStateSet(Lib3
|
||||
osg::ref_ptr<osg::Texture> reflection_map = createTexture(&(mat->reflection_map),"reflection_map",textureTransparency);
|
||||
if (reflection_map)
|
||||
{
|
||||
stateset->setTextureAttributeAndModes(unit, reflection_map, osg::StateAttribute::ON);
|
||||
stateset->setTextureAttributeAndModes(unit, reflection_map.get(), osg::StateAttribute::ON);
|
||||
|
||||
// setup spherical map...
|
||||
osg::ref_ptr<osg::TexGen> texgen = new osg::TexGen();
|
||||
|
Loading…
Reference in New Issue
Block a user