Update OBJWriterNodeVisitor.cpp
This commit is contained in:
parent
3008b953e9
commit
59e372b05d
@ -521,7 +521,7 @@ void OBJWriterNodeVisitor::processStateSet(osg::StateSet* ss)
|
||||
|
||||
if (mat || tex)
|
||||
{
|
||||
_materialMap.insert(std::make_pair(osg::ref_ptr<osg::StateSet>(ss), OBJMaterial(mat, tex)));
|
||||
_materialMap.insert(std::make_pair(osg::ref_ptr<osg::StateSet>(ss), OBJMaterial(mat, tex, _options)));
|
||||
_fout << "usemtl " << _materialMap[ss].name << std::endl;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user