From c3c79b25c21f5590a6b4aad6ba4935ffe3e26abf Mon Sep 17 00:00:00 2001 From: Allen Jackson <23512001+jackalbe@users.noreply.github.com> Date: Thu, 3 Feb 2022 15:44:17 -0600 Subject: [PATCH] {ghi7403} fixing Python PYI symbols on Editor start (#7404) Fixing Python PYI symbols on Editor start by processing the queue symbols after the "azlmbr import" step since that is what queues the symbols Signed-off-by: Allen Jackson <23512001+jackalbe@users.noreply.github.com> --- Gems/EditorPythonBindings/Code/Source/PythonSystemComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gems/EditorPythonBindings/Code/Source/PythonSystemComponent.cpp b/Gems/EditorPythonBindings/Code/Source/PythonSystemComponent.cpp index fe9156013f..e6564ea7af 100644 --- a/Gems/EditorPythonBindings/Code/Source/PythonSystemComponent.cpp +++ b/Gems/EditorPythonBindings/Code/Source/PythonSystemComponent.cpp @@ -414,10 +414,10 @@ namespace EditorPythonBindings EditorPythonBindingsNotificationBus::Broadcast(&EditorPythonBindingsNotificationBus::Events::OnPreInitialize); if (StartPythonInterpreter(pythonPathStack)) { - EditorPythonBindingsNotificationBus::Broadcast(&EditorPythonBindingsNotificationBus::Events::OnPostInitialize); // initialize internal base module and bootstrap scripts ExecuteByString("import azlmbr", false); ExecuteBootstrapScripts(pythonPathStack); + EditorPythonBindingsNotificationBus::Broadcast(&EditorPythonBindingsNotificationBus::Events::OnPostInitialize); return true; } return false;