mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Adjusts importer logic of assets to fill spaces in the names as underscores to avoid issues.
This commit is contained in:
parent
41277fe3b8
commit
7b1c083839
2 changed files with 16 additions and 6 deletions
|
|
@ -390,6 +390,8 @@ AssetImportObject* AssetImporter::addImportingAsset(String assetType, Torque::Pa
|
|||
else
|
||||
assetName = filePath.getFileName();
|
||||
|
||||
assetName.replace(" ", "_");
|
||||
|
||||
AssetImportObject* assetImportObj = new AssetImportObject();
|
||||
assetImportObj->registerObject();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue