Disable loading .mtl files. Theyre not used anyway.
parent
c5f6656f99
commit
638f3a8454
|
@ -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…
Reference in New Issue