瀏覽代碼

Expand comment

Signed-off-by: amzn-mike <[email protected]>
amzn-mike 2 年之前
父節點
當前提交
06bb512403
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Code/Tools/AssetProcessor/native/utilities/BatchApplicationManager.cpp

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

@@ -123,7 +123,8 @@ void BatchApplicationManager::MakeActivationConnections()
         {
             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());
 
             AssetProcessor::JobDiagnosticInfo info{};