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();