浏览代码

AtomSampleViewerApplication standalone launch fix for changes to startup.

Signed-off-by: stankowi <[email protected]>
stankowi 3 年之前
父节点
当前提交
ac637b6921
共有 1 个文件被更改,包括 6 次插入0 次删除
  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();