Added applyProjectionMatrix(0); & applyModelViewMatrix(0); into

osg::State::popAllStateSets(), removed some debugging output.
This commit is contained in:
Robert Osfield
2003-09-10 23:18:52 +00:00
parent 3c8ab37783
commit 41a07127fe
2 changed files with 4 additions and 1 deletions

View File

@@ -151,6 +151,9 @@ void State::pushStateSet(const StateSet* dstate)
void State::popAllStateSets()
{
while (!_drawStateStack.empty()) popStateSet();
applyProjectionMatrix(0);
applyModelViewMatrix(0);
}
void State::popStateSet()