From 098e34ece06770c7bf9d3e1a6acca8ea7200f49f Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 28 Sep 2002 07:47:10 +0000 Subject: [PATCH] Added a dirtyAllVertexArrays() to State::reset(). --- src/osg/State.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osg/State.cpp b/src/osg/State.cpp index 989465e9c..d4838211d 100644 --- a/src/osg/State.cpp +++ b/src/osg/State.cpp @@ -82,6 +82,8 @@ void State::reset() _modelView = _identity; _projection = _identity; + + dirtyAllVertexArrays(); } void State::pushStateSet(const StateSet* dstate)