{LYN-4996} Asset Processor is not reprocessing STL files after settings are edited/updated (#2095)
* add asset importer file extension Signed-off-by: sharmajs <sharmajs@amazon.com> * add new test setreg file Signed-off-by: sharmajs <sharmajs@amazon.com> * removed an unnecessary namespace Signed-off-by: sharmajs <sharmajs@amazon.com> * addressed feedback Signed-off-by: sharmajs <sharmajs@amazon.com> * addressed feedback Signed-off-by: sharmajs <sharmajs@amazon.com> * remove unnecessay method Signed-off-by: sharmajs <sharmajs@amazon.com> * add file Signed-off-by: sharmajs <sharmajs@amazon.com> * reduce waiting time in block until idle Signed-off-by: sharmajs <sharmajs@amazon.com>
This commit is contained in:
@@ -40,6 +40,21 @@ namespace AssetProcessor
|
||||
extern const char AssetConfigPlatformDir[];
|
||||
extern const char AssetProcessorPlatformConfigFileName[];
|
||||
|
||||
struct AssetImporterPathsVisitor
|
||||
: AZ::SettingsRegistryInterface::Visitor
|
||||
{
|
||||
AssetImporterPathsVisitor(AZ::SettingsRegistryInterface* settingsRegistry, AZStd::vector<AZStd::string>& supportedExtension)
|
||||
: m_settingsRegistry(settingsRegistry)
|
||||
, m_supportedFileExtensions(supportedExtension)
|
||||
{
|
||||
}
|
||||
|
||||
void Visit(AZStd::string_view path, AZStd::string_view, AZ::SettingsRegistryInterface::Type, AZStd::string_view value) override;
|
||||
|
||||
AZ::SettingsRegistryInterface* m_settingsRegistry;
|
||||
AZStd::vector<AZStd::string> m_supportedFileExtensions;
|
||||
};
|
||||
|
||||
//! Information for a given recognizer, on a specific platform
|
||||
//! essentially a plain data holder, but with helper funcs
|
||||
class AssetPlatformSpec
|
||||
|
||||
Reference in New Issue
Block a user