Prechádzať zdrojové kódy

Expand comment

Signed-off-by: amzn-mike <[email protected]>
amzn-mike 2 rokov pred
rodič
commit
06bb512403

+ 2 - 1
Code/Tools/AssetProcessor/native/utilities/BatchApplicationManager.cpp

@@ -123,7 +123,8 @@ void BatchApplicationManager::MakeActivationConnections()
         {
         {
             m_processedAssetCount++;
             m_processedAssetCount++;
 
 
-            // If a file fails and later succeeds, don't count it as a failure
+            // If a file fails and later succeeds, don't count it as a failure.
+            // This avoids marking the entire run as a failure (returning non-zero) when everything compiled successfully *eventually*
             m_failedAssets.erase(entry.GetAbsoluteSourcePath().toUtf8().constData());
             m_failedAssets.erase(entry.GetAbsoluteSourcePath().toUtf8().constData());
 
 
             AssetProcessor::JobDiagnosticInfo info{};
             AssetProcessor::JobDiagnosticInfo info{};