Stardragon
15-03-2010 21:22:03
Apologies if multiple threads by me seems like spam: it seemed like a good idea to start a new thread for a new query.
So, I'm doing my best to debug and update to QG 10.1. I'm doing all right, I think, even getting the code to run - then it crashes out at the code below:
The line that seems to be making it choke is the call to the SkinTypeManager. I should note that I'm coming from QG9.05, where this worked all just fine and dandy.
Checking the Ogre.log, the last entries are:
I'm sure I'm doing something wrong, somewhere...
So, I'm doing my best to debug and update to QG 10.1. I'm doing all right, I think, even getting the code to run - then it crashes out at the code below:
// now set up the QuickGUI subsystem
gui_root=new QuickGUI::Root();
QuickGUI::SkinTypeManager::getSingleton().loadTypes();
QuickGUI::GUIManagerDesc gui_manager_desc;
gui_manager_desc.sceneManager=scene_mgr;
gui_manager_desc.viewport=camera->getViewport();
gui_manager_desc.name="Sentinel_GUI";
gui_manager=QuickGUI::Root::getSingletonPtr()->createGUIManager(gui_manager_desc);
The line that seems to be making it choke is the call to the SkinTypeManager. I should note that I'm coming from QG9.05, where this worked all just fine and dandy.
Checking the Ogre.log, the last entries are:
21:41:10: [QGUI] Loading SkinClass and SkinType definitions...
21:41:10: [QGUI] Skin definition for class "SkinClass" with ID "Button" found.
I'm sure I'm doing something wrong, somewhere...