diff options
Diffstat (limited to 'source/blender/python/generic/IDProp.h')
-rw-r--r-- | source/blender/python/generic/IDProp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/python/generic/IDProp.h b/source/blender/python/generic/IDProp.h index 0ca8af81f7c..aca5c0195cc 100644 --- a/source/blender/python/generic/IDProp.h +++ b/source/blender/python/generic/IDProp.h @@ -37,14 +37,15 @@ struct BPy_IDGroup_Iter; typedef struct BPy_IDProperty { PyObject_VAR_HEAD struct ID *id; - struct IDProperty *prop, *parent; + struct IDProperty *prop; /* must be second member */ + struct IDProperty *parent; PyObject *data_wrap; } BPy_IDProperty; typedef struct BPy_IDArray { PyObject_VAR_HEAD struct ID *id; - struct IDProperty *prop; + struct IDProperty *prop; /* must be second member */ } BPy_IDArray; typedef struct BPy_IDGroup_Iter { |