From 3ea74e017fd7249250c67ac7621da70caae77154 Mon Sep 17 00:00:00 2001 From: antonmic Date: Thu, 10 Jun 2021 20:06:13 -0700 Subject: [PATCH] Pass changes: RPI unit test fix --- Gems/Atom/RPI/Code/Source/RPI.Public/Pass/PassSystem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Gems/Atom/RPI/Code/Source/RPI.Public/Pass/PassSystem.cpp b/Gems/Atom/RPI/Code/Source/RPI.Public/Pass/PassSystem.cpp index ad3d6d31ca..cc51c8760a 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Public/Pass/PassSystem.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Public/Pass/PassSystem.cpp @@ -101,6 +101,7 @@ namespace AZ m_passFactory.Init(&m_passLibrary); m_rootPass = CreatePass(Name{"Root"}); m_rootPass->m_flags.m_partOfHierarchy = true; + m_rootPass->m_flags.m_createChildren = false; // Here you can specify the name of a pass you would like to break into during execution // If you enable AZ_RPI_ENABLE_PASS_DEBUGGING, then any pass matching the specified name will debug