Fixed array property display on UI (they still can't be resized)

This commit is contained in:
Aruki
2018-07-09 03:54:19 -06:00
parent 4faadbda61
commit 641cf81dd8
14 changed files with 123 additions and 45 deletions

View File

@@ -213,7 +213,7 @@ void CScriptCooker::WriteProperty(IOutputStream& rOut, IPropertyNew* pProperty,
for (u32 ElementIdx = 0; ElementIdx < pArray->ArrayCount(pData); ElementIdx++)
{
mpArrayItemData = pArray->ItemPointer(pData, ElementIdx);
WriteProperty(rOut, pArray->ArchetypeProperty(), true);
WriteProperty(rOut, pArray->ItemArchetype(), true);
}
mpArrayItemData = pOldItemData;