Hi,
I think there is a problem in the definition of the enum AWD_field_type in awd_types.h. The specification docment states that the float32 field and float64 field have the ID 11 and 12, and that the field Matrix3x2, Matrix3x3, Matrix 4x3 and Matrix4x4 have respectively the IDs 51, 52, 53 and 54.
However, the enum define the following values :
- AWD_FIELD_FLOAT32 : 7
- AWD_FIELD_FLOAT64 : 8
- AWD_FIELD_MTX3x2 : 44
- AWD_FIELD_MTX3x3 : 45
- AWD_FIELD_MTX4x3 : 46
- AWD_FIELD_MTX4x4 : 47
when creating a file with libawd, the field IDs are incorrectly written and this causes a bug when opening a newly created AWD file in Prefab3D.
Martin Bousquet
ps 2 : i know this is not the section to report bugs, but i don’t seem to find the section github about libawd…