|
|
@ -189,7 +189,7 @@ namespace MWGui
|
|
|
|
{
|
|
|
|
{
|
|
|
|
float uiScale = Settings::Manager::getFloat("scaling factor", "GUI");
|
|
|
|
float uiScale = Settings::Manager::getFloat("scaling factor", "GUI");
|
|
|
|
mGuiPlatform = new osgMyGUI::Platform(viewer, guiRoot, resourceSystem->getImageManager(), uiScale);
|
|
|
|
mGuiPlatform = new osgMyGUI::Platform(viewer, guiRoot, resourceSystem->getImageManager(), uiScale);
|
|
|
|
mGuiPlatform->initialise(resourcePath, logpath);
|
|
|
|
mGuiPlatform->initialise(resourcePath, (boost::filesystem::path(logpath) / "MyGUI.log").generic_string());
|
|
|
|
|
|
|
|
|
|
|
|
mGui = new MyGUI::Gui;
|
|
|
|
mGui = new MyGUI::Gui;
|
|
|
|
mGui->initialise("");
|
|
|
|
mGui->initialise("");
|
|
|
|