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
main
Chris Galvan 5 years ago committed by GitHub
commit 26d8a62074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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:
// ------------------------------------------------------------------

Loading…
Cancel
Save