leonardoaraujo.santos
30-08-2008 05:10:17
Hi guys I'm getting this error

If the class that contains my scene manager is doing this before leaves...
Runing this in Debug mode I see that an exception is called when the code described bellow is called (After I made an mGUI->shutdown)
mygui_delegateimplement.h
Then it also goes here....
mygui_widgetevent.h
And here...
mygui_inputmanager.cpp
I don´t know but by some reason the MyGUI is trying to run something after it called shutdown....
I´m using an SVN version of MyGui from yesterday... (I don´t know if was some change....)
If the class that contains my scene manager is doing this before leaves...
// Nao sei porque buga...
mGUI->shutdown();
delete mGUI;
mGUI = 0;
mGerenciadorCena->clearScene();
mGerenciadorCena->destroyAllCameras();
mRoot->destroySceneManager(mGerenciadorCena);
mRoot->getAutoCreatedWindow()->removeAllViewports();
Runing this in Debug mode I see that an exception is called when the code described bellow is called (After I made an mGUI->shutdown)
mygui_delegateimplement.h
virtual void invoke(PARAMS)
{
(mObject->*mMethod)(ARGS);
}
void operator()(PARAMS)
{
if (mDelegate == 0) return;
mDelegate->invoke(ARGS);
}
Then it also goes here....
mygui_widgetevent.h
virtual void _onMouseButtonClick()
{
eventMouseButtonClick(mWidgetEventSender);
}
And here...
mygui_inputmanager.cpp
mWidgetMouseFocus->_onMouseButtonClick();
// Some throw occurs here...
injectMouseMove(_absx, _absy, mOldAbsZ);
----EXCEPTION HERE----->PointerManager::getInstance().setPosition(mMousePosition);
I don´t know but by some reason the MyGUI is trying to run something after it called shutdown....
I´m using an SVN version of MyGui from yesterday... (I don´t know if was some change....)