Merge pull request #1914 from aws-lumberyard-dev/cgalvan/FixLuaEditorSettings

Ensured EditContext is created for the legacy tools framework application (Lua) so that settings are able to be displayed
This commit is contained in:
Chris Galvan
2021-07-07 13:41:25 -05:00
committed by GitHub
2 changed files with 8 additions and 0 deletions
@@ -151,6 +151,12 @@ namespace LegacyFramework
specializations.Append("tools");
}
void Application::CreateReflectionManager()
{
AZ::ComponentApplication::CreateReflectionManager();
GetSerializeContext()->CreateEditContext();
}
int Application::Run(const ApplicationDesc& desc)
{
if (!AZ::AllocatorInstance<AZ::OSAllocator>::IsReady())
@@ -56,6 +56,8 @@ namespace LegacyFramework
virtual int Run(const ApplicationDesc& desc);
Application();
void CreateReflectionManager() override;
protected:
// ------------------------------------------------------------------