Stop MyGUI using wireframe?

AlexSawczuk

19-08-2011 00:53:44

If I set the cameras polygon mode to wireframe etc, m_pCamera->setPolygonMode(Ogre::PM_WIREFRAME)

Then the gui does the same, is there some way I can over-ride this? I see with normal entities you can set it so camera changes are ignored

Thanks

Altren

19-08-2011 10:09:19

In MyGUI_OgreRenderManager.cpp add next line in the end of void OgreRenderManager::begin():
mRenderSystem->_setPolygonMode(Ogre::PM_SOLID);

AlexSawczuk

19-08-2011 14:02:07

Thanks :)

jdxsolutions

27-09-2011 16:06:54

I saw a weird effect where if I set one of my custom materials to use wireframe, MyGUI used wireframe too. I assume same issue - the rendering was last in wireframe mode and MyGUI didn't switch it back.

I'm using 3.2, has this been reported as a bug officially?

Altren

27-09-2011 19:33:48

It is fixed in svn.