diff --git a/src/osgSim/SphereSegment.cpp b/src/osgSim/SphereSegment.cpp index 3b25fce1b..bcdcb99d2 100644 --- a/src/osgSim/SphereSegment.cpp +++ b/src/osgSim/SphereSegment.cpp @@ -1039,7 +1039,7 @@ class PolytopeVisitor : public osg::NodeVisitor traverse(transform); - _polytopeStack.back(); + _polytopeStack.pop_back(); } }