mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-28 06:20:21 +02:00
Merging r6468 through r6486 from trunk to ogl-es branch
Also updating ES&ES2 interface to work with removal of IMaterialRendererServices::setBasicRenderStates git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6487 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@ -255,7 +255,7 @@ void loadModel(const io::path& filename)
|
||||
// that's not so simple. so we do it brute force
|
||||
gui::IGUIContextMenu* menu = (gui::IGUIContextMenu*)Device->getGUIEnvironment()->getRootGUIElement()->getElementFromId(GUI_ID_TOGGLE_DEBUG_INFO, true);
|
||||
if (menu)
|
||||
for(int item = 1; item < 6; ++item)
|
||||
for(int item = 1; item < 7; ++item)
|
||||
menu->setItemChecked(item, false);
|
||||
updateScaleInfo(Model);
|
||||
}
|
||||
|
Reference in New Issue
Block a user