2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-07 05:23:02 +00:00

fix: properly load matching structure dynamic array inside non-matching structure embed

This commit is contained in:
Jan
2025-06-04 21:32:00 +01:00
parent 884ad57bf4
commit 930867f07f
3 changed files with 19 additions and 6 deletions

View File

@@ -35,6 +35,9 @@ namespace
if (computations.ShouldIgnore())
continue;
if (computations.IsArray() || member->m_member->m_type_declaration->m_declaration_modifiers.empty())
member->m_type->m_embedded_reference_exists = true;
if (computations.ContainsNonEmbeddedReference())
member->m_type->m_non_embedded_reference_exists = true;