Added applyProjectionMatrix(0); & applyModelViewMatrix(0); into
osg::State::popAllStateSets(), removed some debugging output.
This commit is contained in:
@@ -151,6 +151,9 @@ void State::pushStateSet(const StateSet* dstate)
|
||||
void State::popAllStateSets()
|
||||
{
|
||||
while (!_drawStateStack.empty()) popStateSet();
|
||||
|
||||
applyProjectionMatrix(0);
|
||||
applyModelViewMatrix(0);
|
||||
}
|
||||
|
||||
void State::popStateSet()
|
||||
|
||||
Reference in New Issue
Block a user