Merge pull request #309 from mp3butcher/osganimation

add DrawElementTypeSimplifierVisitor constructor because default nodevisitor is TRAVERSE_NONE..
This commit is contained in:
OpenSceneGraph git repository
2017-08-22 08:01:40 +01:00
committed by GitHub

View File

@@ -31,7 +31,7 @@ class OSGUTIL_EXPORT DrawElementTypeSimplifier
class OSGUTIL_EXPORT DrawElementTypeSimplifierVisitor : public osg::NodeVisitor
{
public:
DrawElementTypeSimplifierVisitor(): osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN ) {}
META_NodeVisitor(osgUtil, DrawElementTypeSimplifierVisitor);
void apply(osg::Geometry& geom);