From 8af38347d174a32834726580b271ee968b322d76 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 13 Nov 2003 15:45:31 +0000 Subject: [PATCH] From Tom Jolly, Fix to handling of triangle fans. --- src/osgPlugins/pfb/ConvertFromPerformer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/pfb/ConvertFromPerformer.cpp b/src/osgPlugins/pfb/ConvertFromPerformer.cpp index c8f8fbe58..f8e50c668 100644 --- a/src/osgPlugins/pfb/ConvertFromPerformer.cpp +++ b/src/osgPlugins/pfb/ConvertFromPerformer.cpp @@ -479,6 +479,7 @@ int ConvertFromPerformer::getNumVerts(pfGeoSet *gset) break; case PFGS_TRISTRIPS : + case PFGS_TRIFANS : case PFGS_FLAT_TRISTRIPS : case PFGS_POLYS : case PFGS_LINESTRIPS : @@ -906,7 +907,6 @@ osg::Drawable* ConvertFromPerformer::visitGeoSet(osg::Geode* osgGeode,pfGeoSet* if(ilist) { -// geom->setTexCoordIndices(0,new osg::UShortArray(nn,ilist)); geom->setColorIndices(new osg::UShortArray(nn,ilist)); }