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:
parent
c5f6656f99
commit
638f3a8454
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user