Currently if you pass MaterialManager::createTextureFromFile an incorrect file path it returns the default texture, and if you pass it an empty string it special-case returns NULL. Other Polycode classes do not anticipate this inconsistency and can crash when this occurs.
Currently if you pass MaterialManager::createTextureFromFile an incorrect file path it returns the default texture, and if you pass it an empty string it special-case returns NULL. Other Polycode classes do not anticipate this inconsistency and can crash when this occurs.

carlosmarti/Polycode,mcanthony/Polycode,zeebok/Polycode,hksonngan/Polycode,zeebok/Polycode,thorsummoner/polycode,thorsummoner/polycode,mcanthony/Polycode,fodinabor/Polycode,cartman300/Polycode,ivansafrin/Polycode,sshaileshk/Polycode,sshaileshk/Polycode,fodinabor/Polycode,sshaileshk/Polycode,cartman300/Polycode,GovanifY/Polycode,GovanifY/Polycode,thorsummoner/polycode,hksonngan/Polycode,cartman300/Polycode,fodinabor/Polycode,Xetlin/Lua,carlosmarti/Polycode,GovanifY/Polycode,ivansafrin/Polycode,GovanifY/Polycode,Xetlin/Lua,hksonngan/Polycode,fodinabor/Polycode,zeebok/Polycode,mcanthony/Polycode,sshaileshk/Polycode,Xetlin/Lua,ivansafrin/Polycode,carlosmarti/Polycode,hksonngan/Polycode,thorsummoner/polycode,cartman300/Polycode,zeebok/Polycode,ivansafrin/Polycode,mcanthony/Polycode,Xetlin/Lua