From 24c19fa17eb7b64cd0e82379833eac787d551d3d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 7 May 2009 18:30:33 +0000 Subject: [PATCH] Changed setting of stack back assigned to push_back to fix bug with cull mask management. --- include/osg/Polytope | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/Polytope b/include/osg/Polytope index 0595bb7fd..f70cb5234 100644 --- a/include/osg/Polytope +++ b/include/osg/Polytope @@ -165,7 +165,7 @@ class OSG_EXPORT Polytope { _resultMask = (_resultMask<<1) | 1; } - _maskStack.back() = _resultMask; + _maskStack.push_back(_resultMask); } inline ClippingMask& getCurrentMask() { return _maskStack.back(); }