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:
Areloch 2021-01-05 00:58:18 -06:00
parent bf5b26f734
commit 8585278fe4
4 changed files with 127 additions and 26 deletions

View file

@ -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; }
};