Handle reflecting runtime arrays of arrays

This commit is contained in:
baldurk committed 2019-10-18 15:35:54 +01:00
1 parent 1cfa46e771
commit 9d05ab992e
1 file changed
+3
@@ -1866,6 +1866,9 @@ void Reflector::MakeConstantBlockVariables(const DataType &structType, uint32_t
{
uint32_t relativeOffset = 0;
if(arraySize == ~0U)
arraySize = 1;
cblock.resize(arraySize);
for(uint32_t i = 0; i < arraySize; i++)
{