From 06e88f3b916e71cba8b466238335c3498acbfdb5 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 9 Feb 2012 18:10:52 +0000 Subject: [PATCH] From Luc Frauciel, "osgUtil Tessellator : beginTessellation() made virtual to allow configuration of tessellation: The initialisation of glu low level tessellator is done in osgUtil::Tessellator::beginTessellation() This function is not virtual, preventing any customization of the tesselation. In particular, there in an option in glu tesselator that force the generated primitives to be triangles and that I'd like to use (GLU_TESS_EDGE_FLAG). " --- include/osgUtil/Tessellator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osgUtil/Tessellator b/include/osgUtil/Tessellator index d5d8ea861..bcac405b8 100644 --- a/include/osgUtil/Tessellator +++ b/include/osgUtil/Tessellator @@ -96,7 +96,7 @@ class OSGUTIL_EXPORT Tessellator : public osg::Referenced VecList _vertices; }; - void beginTessellation(); + virtual void beginTessellation(); void beginContour();