mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
Adds autoimport logic for materials if the materialDefinition already exists
Adds some additional utility functions to AssetImporter for easier access to setup Corrects handling for legacy field names with meshRoad
This commit is contained in:
parent
bf5b26f734
commit
8585278fe4
4 changed files with 127 additions and 26 deletions
|
|
@ -847,6 +847,12 @@ public:
|
|||
activeImportConfig = importConfig;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Resets the active import config to whatever the default is. Either a clean slate if one isn't defined
|
||||
/// or loading one if defined via the editor config
|
||||
/// </summary>
|
||||
void resetImportConfig();
|
||||
|
||||
//
|
||||
static String getTrueFilename(const String& fileName);
|
||||
|
||||
|
|
@ -881,4 +887,8 @@ public:
|
|||
|
||||
return qualifiedFilePath;
|
||||
}
|
||||
|
||||
//
|
||||
void setTargetModuleId(const String& moduleId) { targetModuleId = moduleId; }
|
||||
const String& getTargetModuleId() { return targetModuleId; }
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue