Merge pull request #545 from Areloch/AssetFileCaseSensitivityFix

Enforces filename string case sensitivity for assets' internal filenames
This commit is contained in:
Brian Roberts 2021-08-23 19:22:22 -05:00 committed by GitHub
commit 0a150e342f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 109 additions and 102 deletions

View file

@ -190,7 +190,7 @@ void MaterialAsset::setScriptFile(const char* pScriptFile)
AssertFatal(pScriptFile != NULL, "Cannot use a NULL script file.");
// Fetch image file.
pScriptFile = StringTable->insert(pScriptFile);
pScriptFile = StringTable->insert(pScriptFile, true);
// Update.
mScriptFile = getOwned() ? expandAssetFilePath(pScriptFile) : pScriptFile;