mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Disable loading .mtl files. Theyre not used anyway.
This commit is contained in:
parent
c5f6656f99
commit
638f3a8454
1 changed files with 2 additions and 0 deletions
|
@ -1697,6 +1697,8 @@ bool Game::startup(bool *kill,
|
|||
driver = device->getVideoDriver();
|
||||
smgr = device->getSceneManager();
|
||||
|
||||
smgr->getParameters()->setAttribute(scene::OBJ_LOADER_IGNORE_MATERIAL_FILES, true);
|
||||
|
||||
if (!init(map_dir, address, port, gamespec))
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue