Suggestion: Default resource group


04-01-2009 20:27:21

The resource group you pass with the mygui initialization should apply to all mygui entities. For instance:
mygui->initialize(mWindow, "core.xml" "myResourceGroup");
mLayoutMgr->load("myLayout.layout") <---- load myLayout.layout from resourcegroup "myResourceGroup"

At the moment you have to specify the resource group in the layour manager if you're not using Ogre::DefaultResourceGroup.
mLayoutMgr->load("myLayout.layout", "myResourceGroup");

A slight improvement IMO...


04-01-2009 20:55:29

Sure, I'll do it now. Looks like we just forgot about it.