mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-28 05:35:41 +00:00
fix rendering context only adding asset types instead of the other way around
This commit is contained in:
1 parent
b4f1e09315
commit
44e739ba44
1 file changed
+1
-1
@@ -107,7 +107,7 @@ void RenderingContext::AddMembersToContext(StructureInformation* info)
|
||||
usedType->m_pointer_array_reference_is_reusable = true;
|
||||
}
|
||||
|
||||
if(usedType->m_info != nullptr && StructureComputations(usedType->m_info).IsAsset() && !computations.IsInRuntimeBlock() && !usedType->m_members_loaded)
|
||||
if(usedType->m_info != nullptr && !StructureComputations(usedType->m_info).IsAsset() && !computations.IsInRuntimeBlock() && !usedType->m_members_loaded)
|
||||
{
|
||||
usedType->m_members_loaded = true;
|
||||
AddMembersToContext(usedType->m_info);
|
||||
|
||||
Reference in new issue
Block a user