File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Code/Tools/AssetProcessor/native/utilities Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1127,6 +1127,7 @@ namespace AssetProcessor
1127
1127
1128
1128
AZ::IO::FixedMaxPath projectPath = AZ::Utils::GetProjectPath ();
1129
1129
AZ::IO::FixedMaxPathString projectName = AZ::Utils::GetProjectName ();
1130
+ AZ::IO::FixedMaxPathString executableDirectory = AZ::Utils::GetExecutableDirectory ();
1130
1131
1131
1132
AZ::IO::FixedMaxPath engineRoot (AZ::IO::PosixPathSeparator);
1132
1133
settingsRegistry->Get (engineRoot.Native (), AZ::SettingsRegistryMergeUtils::FilePathKey_EngineRootFolder);
@@ -1202,6 +1203,7 @@ namespace AssetProcessor
1202
1203
AZ::StringFunc::Replace (scanFolderEntry.m_watchPath .Native (), " @ROOT@" , assetRootPath.c_str ());
1203
1204
AZ::StringFunc::Replace (scanFolderEntry.m_watchPath .Native (), " @PROJECTROOT@" , projectPath.c_str ());
1204
1205
AZ::StringFunc::Replace (scanFolderEntry.m_watchPath .Native (), " @ENGINEROOT@" , engineRoot.c_str ());
1206
+ AZ::StringFunc::Replace (scanFolderEntry.m_watchPath .Native (), " @EXEFOLDER@" , executableDirectory.c_str ());
1205
1207
// Normalize path make sure it is using posix slashes
1206
1208
scanFolderEntry.m_watchPath = scanFolderEntry.m_watchPath .LexicallyNormal ();
1207
1209
You can’t perform that action at this time.
0 commit comments