fix: consider structures that are assets requiring marking

This commit is contained in:
Jan 2024-01-23 19:29:43 +01:00
parent 70dba19484
commit df2a5294e8
No known key found for this signature in database
GPG Key ID: 44B581F78FF5C57C

View File

@ -13,6 +13,9 @@ bool MarkingRequiredPostProcessor::RequiresMarking(std::unordered_set<const void
visitedStructures.emplace(info); visitedStructures.emplace(info);
if (info->m_asset_enum_entry)
return true;
for (const auto& member : info->m_ordered_members) for (const auto& member : info->m_ordered_members)
{ {
// If there is a condition to this member, and it always evaluates to false: Skip this member // If there is a condition to this member, and it always evaluates to false: Skip this member