Correct to make the getModuleFromPath function static again.

This commit is contained in:
Areloch 2020-07-11 21:57:40 -05:00
parent a3d6afc197
commit 7818b1ba49
2 changed files with 2 additions and 2 deletions

View file

@ -1850,7 +1850,7 @@ StringTableEntry AssetImporter::autoImportFile(Torque::Path filePath)
} }
//Find out if the filepath has an associated module to it. If we're importing in-place, it needs to be within a module's directory //Find out if the filepath has an associated module to it. If we're importing in-place, it needs to be within a module's directory
ModuleDefinition* targetModuleDef = getModuleFromPath(filePath); ModuleDefinition* targetModuleDef = AssetImporter::getModuleFromPath(filePath);
if (targetModuleDef == nullptr) if (targetModuleDef == nullptr)
{ {

View file

@ -632,7 +632,7 @@ public:
/// <para>@param filePath, File path to parse the the module from</para> /// <para>@param filePath, File path to parse the the module from</para>
/// <para>@return ModuleDefinition that was found</para> /// <para>@return ModuleDefinition that was found</para>
/// </summary> /// </summary>
ModuleDefinition* getModuleFromPath(Torque::Path filePath); static ModuleDefinition* getModuleFromPath(Torque::Path filePath);
/// <summary> /// <summary>
/// Parses an asset's name to try and find if any of the import config's suffix lists match to it /// Parses an asset's name to try and find if any of the import config's suffix lists match to it