From 47fb247609d8045ce37ca6d48edcb71ca1482877 Mon Sep 17 00:00:00 2001 From: psiberx Date: Sat, 7 Sep 2024 12:56:30 +0300 Subject: [PATCH] Fix native inherited structs --- src/App/Scripting/ScriptingService.cpp | 15 --------------- xmake.lua | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/App/Scripting/ScriptingService.cpp b/src/App/Scripting/ScriptingService.cpp index 1c64c349..96f62492 100644 --- a/src/App/Scripting/ScriptingService.cpp +++ b/src/App/Scripting/ScriptingService.cpp @@ -123,21 +123,6 @@ void App::ScriptingService::OnValidateScripts(void* aValidator, Red::ScriptBundl } classDef->parent = reinterpret_cast(*parentDef); - - if (classDef->properties.size > 0) - { - while (nativeParent) - { - for (auto i = static_cast(classDef->properties.size) - 1; i >= 0; --i) - { - if (nativeParent->GetProperty(classDef->properties[i]->name)) - { - classDef->properties.RemoveAt(i); - } - } - nativeParent = nativeParent->parent; - } - } } } } diff --git a/xmake.lua b/xmake.lua index 32474ae5..0ab4087f 100644 --- a/xmake.lua +++ b/xmake.lua @@ -1,7 +1,7 @@ set_xmakever("2.5.9") set_project("Codeware") -set_version("1.12.5", {build = "%y%m%d%H%M"}) +set_version("1.12.6", {build = "%y%m%d%H%M"}) set_arch("x64") set_languages("cxx2a")