Add dedicated skybox textures folder
This commit is contained in:
parent
9804416a82
commit
b1fa45437f
@ -478,6 +478,8 @@ void FileManager::addAssetsSearchPath()
|
|||||||
// since this also adds a file archive to the file system - and
|
// since this also adds a file archive to the file system - and
|
||||||
// m_file_system is deleted (in irr_driver)
|
// m_file_system is deleted (in irr_driver)
|
||||||
pushTextureSearchPath(m_subdir_name[TEXTURE], "textures");
|
pushTextureSearchPath(m_subdir_name[TEXTURE], "textures");
|
||||||
|
pushTextureSearchPath(m_subdir_name[TEXTURE]+"skybox/", "skybox");
|
||||||
|
|
||||||
if (fileExists(m_subdir_name[TEXTURE]+"deprecated/"))
|
if (fileExists(m_subdir_name[TEXTURE]+"deprecated/"))
|
||||||
pushTextureSearchPath(m_subdir_name[TEXTURE]+"deprecated/", "deprecatedtex");
|
pushTextureSearchPath(m_subdir_name[TEXTURE]+"deprecated/", "deprecatedtex");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user