Browse Source

AtomSampleViewerApplication standalone launch fix for changes to startup.

Signed-off-by: stankowi <[email protected]>
stankowi 3 years ago
parent
commit
ac637b6921
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Standalone/Platform/Common/AtomSampleViewerApplication.cpp

+ 6 - 0
Standalone/Platform/Common/AtomSampleViewerApplication.cpp

@@ -9,6 +9,7 @@
 #include <AtomSampleViewerApplication.h>
 #include <SampleComponentManagerBus.h>
 
+#include <AzCore/Component/ComponentApplicationLifecycle.h>
 #include <AzCore/PlatformIncl.h>
 #include <AzCore/Component/ComponentApplication.h>
 #include <AzCore/Debug/Trace.h>
@@ -92,6 +93,11 @@ namespace AtomSampleViewer
 
         AzFramework::Application::StartCommon(systemEntity);
 
+        if (auto settingsRegistry = AZ::SettingsRegistry::Get(); settingsRegistry != nullptr)
+        {
+            AZ::ComponentApplicationLifecycle::SignalEvent(*settingsRegistry, "LegacySystemInterfaceCreated", R"({})");
+        }
+
         ReadTimeoutShutdown();
 
         WriteStartupLog();