diff --git a/Engine/source/T3D/assets/assetImporter.cpp b/Engine/source/T3D/assets/assetImporter.cpp index cd9e3f499..d3b957563 100644 --- a/Engine/source/T3D/assets/assetImporter.cpp +++ b/Engine/source/T3D/assets/assetImporter.cpp @@ -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 - ModuleDefinition* targetModuleDef = getModuleFromPath(filePath); + ModuleDefinition* targetModuleDef = AssetImporter::getModuleFromPath(filePath); if (targetModuleDef == nullptr) { diff --git a/Engine/source/T3D/assets/assetImporter.h b/Engine/source/T3D/assets/assetImporter.h index 631162945..76050f764 100644 --- a/Engine/source/T3D/assets/assetImporter.h +++ b/Engine/source/T3D/assets/assetImporter.h @@ -632,7 +632,7 @@ public: /// @param filePath, File path to parse the the module from /// @return ModuleDefinition that was found /// - ModuleDefinition* getModuleFromPath(Torque::Path filePath); + static ModuleDefinition* getModuleFromPath(Torque::Path filePath); /// /// Parses an asset's name to try and find if any of the import config's suffix lists match to it