Save offset for reusing for any type that has a reusable reference

This commit is contained in:
Jan
2021-03-20 16:04:17 +01:00
parent 5cd5ae5533
commit 1d33cf2adf
4 changed files with 11 additions and 5 deletions

View File

@ -48,6 +48,9 @@ bool UsagesPostProcessor::ProcessAsset(StructureInformation* info)
if (computations.IsNotInDefaultNormalBlock())
member->m_type->m_reference_from_non_default_normal_block_exists = true;
if (member->m_is_reusable)
member->m_type->m_reusable_reference_exists = true;
member->m_type->m_usages.push_back(currentStructure);
processingQueue.push(member->m_type);
}