Show
Ignore:
Timestamp:
08/28/14 17:11:29 (41 hours ago)
Author:
robert
Message:

Improved support for controlling the ShadingModel? via the VolumeSettings? object

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/obj/OBJWriterNodeVisitor.cpp

    r13041 r13502  
    137137            write(i3); 
    138138            _fout << std::endl; 
    139             // not sure if this is correct? 
    140             if(_geo->getNormalBinding() && _geo->getNormalBinding() == osg::Geometry::BIND_PER_PRIMITIVE) ++_normalIndex; 
    141139        } 
    142140 
     
    148146            write(i2); 
    149147            _fout << std::endl; 
    150             // not sure if this is correct? 
    151             if(_geo->getNormalBinding() && _geo->getNormalBinding() == osg::Geometry::BIND_PER_PRIMITIVE) ++_normalIndex; 
    152148        } 
    153149 
     
    158154            write(i1); 
    159155            _fout << std::endl; 
    160             // not sure if this is correct? 
    161             if(_geo->getNormalBinding() && _geo->getNormalBinding() == osg::Geometry::BIND_PER_PRIMITIVE) ++_normalIndex; 
    162156        } 
    163157 
     
    525519    _fout << "o " << getUniqueName( geo->getName().empty() ? geo->className() : geo->getName() ) << std::endl; 
    526520 
     521    if (geo->containsDeprecatedData()) geo->fixDeprecatedData(); 
     522     
    527523    processStateSet(_currentStateSet.get()); 
    528524