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:
+6
@@ -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())
|
||||
|
||||
+2
@@ -56,6 +56,8 @@ namespace LegacyFramework
|
||||
virtual int Run(const ApplicationDesc& desc);
|
||||
Application();
|
||||
|
||||
void CreateReflectionManager() override;
|
||||
|
||||
protected:
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user