Closed Flix01 closed 5 years ago
Solved it!
The maximum array size was hard-coded, in "fbtBlend.h", in FBT_ARRAY_SLOTS:
#ifndef FBT_ARRAY_SLOTS
#define FBT_ARRAY_SLOTS 2 // Maximum dimensional array, eg: (int m_member[..][..] -> [FBT_ARRAY_SLOTS])
#endif
For Blender 2.80 it must be set to 3.
This is a small issue that doesn't seem to prevent parsing (most of) the .blend file. Anyway: When parsing 2.80 files the following parsing error appears:
(numbers can be different, for example):
The error is generated by code in "fbtBlend.h"
"Blender.h" in version 2.80 defines the two related structs in this way:
Initially, I thought that, since Camera_Runtime::drw_corners was the only spot in Blender.h with a 3D array, maybe fbtBlend.h couldn't parse it correctly. But we can change it to [2][8] (instead of [2][4][2]) and still there are parsing errors.
So I don't know what to do to fix it, and I don't even know how much this issue is big.
If somebody can help, this is the place...