Pārlūkot izejas kodu

Cleanup code commented out for debug

Signed-off-by: rgba16f <[email protected]>
rgba16f 3 gadi atpakaļ
vecāks
revīzija
99d9fd9227
1 mainītis faili ar 9 papildinājumiem un 11 dzēšanām
  1. 9 11
      Gem/Code/Source/Automation/ScriptManager.cpp

+ 9 - 11
Gem/Code/Source/Automation/ScriptManager.cpp

@@ -320,18 +320,16 @@ namespace AtomSampleViewer
 
 
             if (m_scriptPaused)
             if (m_scriptPaused)
             {
             {
-                // Remove while debugging script screencaps
-
-                //m_scriptPauseTimeout -= deltaTime;
-                //if (m_scriptPauseTimeout < 0)
-                //{
-                //    AZ_Error("Automation", false, "Script pause timed out. Continuing...");
-                //    m_scriptPaused = false;
-                //}
-                //else
-                //{
+                m_scriptPauseTimeout -= deltaTime;
+                if (m_scriptPauseTimeout < 0)
+                {
+                    AZ_Error("Automation", false, "Script pause timed out. Continuing...");
+                    m_scriptPaused = false;
+                }
+                else
+                {
                     break;
                     break;
-                //}
+                }
             }
             }
 
 
             if (m_waitForAssetTracker)
             if (m_waitForAssetTracker)