From 39381c6fe7d3378216dfde197fe3e8953787d54b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 4 Feb 2006 21:25:33 +0000 Subject: [PATCH] From Edmond Gheury, fixe and bug in the PrimitiveShapeVisitor. --- src/osg/ShapeDrawable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/ShapeDrawable.cpp b/src/osg/ShapeDrawable.cpp index 951b5b5ea..47cc3be1a 100644 --- a/src/osg/ShapeDrawable.cpp +++ b/src/osg/ShapeDrawable.cpp @@ -1378,7 +1378,7 @@ void PrimitiveShapeVisitor::apply(const Sphere& sphere) // do last point by hand to ensure no round off errors. _functor.vertex(tx+rTop,ty,tz+zTop); - _functor.vertex(ty+rBase,ty,tz+zBase); + _functor.vertex(tx+rBase,ty,tz+zBase); _functor.end();