Since my problem http://www.ogre3d.org/forums/viewtopic.php?f=2&t=92949 is not solved and I use the workaround using the orientation feature of ogre, I need to use orientation for MyGUI too. And there is code at MyGUI_OgreRenderManager.cpp:331
Code: Select all
Ogre::OrientationMode orient = mWindow->getViewport(mActiveViewport)->getOrientationMode();
mRenderSystem->_setProjectionMatrix(Ogre::Matrix4::IDENTITY * Ogre::Quaternion(Ogre::Degree(orient * 90.f), Ogre::Vector3::UNIT_Z));
that should do it, but whatever I change here, it has no effect for the layout. Any ideas?