1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 16:08:51 -05:00

Disable loading .mtl files. Theyre not used anyway.

This commit is contained in:
RealBadAngel 2014-12-07 23:25:51 +01:00
parent c5f6656f99
commit 638f3a8454

View File

@ -1697,6 +1697,8 @@ bool Game::startup(bool *kill,
driver = device->getVideoDriver(); driver = device->getVideoDriver();
smgr = device->getSceneManager(); smgr = device->getSceneManager();
smgr->getParameters()->setAttribute(scene::OBJ_LOADER_IGNORE_MATERIAL_FILES, true);
if (!init(map_dir, address, port, gamespec)) if (!init(map_dir, address, port, gamespec))
return false; return false;