mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Correct to make the getModuleFromPath function static again.
This commit is contained in:
parent
a3d6afc197
commit
7818b1ba49
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue