Skip to content

Commit

Permalink
Fix native inherited structs
Browse files Browse the repository at this point in the history
  • Loading branch information
psiberx committed Sep 7, 2024
1 parent 5e19ea4 commit 47fb247
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 0 additions & 15 deletions src/App/Scripting/ScriptingService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,21 +123,6 @@ void App::ScriptingService::OnValidateScripts(void* aValidator, Red::ScriptBundl
}

classDef->parent = reinterpret_cast<Red::ScriptClass*>(*parentDef);

if (classDef->properties.size > 0)
{
while (nativeParent)
{
for (auto i = static_cast<int32_t>(classDef->properties.size) - 1; i >= 0; --i)
{
if (nativeParent->GetProperty(classDef->properties[i]->name))
{
classDef->properties.RemoveAt(i);
}
}
nativeParent = nativeParent->parent;
}
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit 47fb247

Please sign in to comment.