Added TriStripVisitor usage.
This commit is contained in:
parent
0cbe10d399
commit
70572a3930
@ -13,6 +13,8 @@
|
||||
#include <osgDB/FileNameUtils>
|
||||
#include <osgDB/ReadFile>
|
||||
|
||||
#include <osgUtil/TriStripVisitor>
|
||||
|
||||
//MIKEC debug only for PrintVisitor
|
||||
#include <osg/NodeVisitor>
|
||||
|
||||
@ -617,6 +619,9 @@ osg::Drawable* ReaderWriter3DS::createDrawable(Lib3dsMesh *m,FaceList& faceLis
|
||||
|
||||
geom->addPrimitiveSet(elements);
|
||||
|
||||
osgUtil::TriStripVisitor tsv;
|
||||
tsv.stripify(*geom);
|
||||
|
||||
return geom;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user