diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_internal.h')
-rw-r--r-- | source/blender/makesrna/intern/rna_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_internal.h b/source/blender/makesrna/intern/rna_internal.h index 28e2b63388a..04a59a48b63 100644 --- a/source/blender/makesrna/intern/rna_internal.h +++ b/source/blender/makesrna/intern/rna_internal.h @@ -74,6 +74,11 @@ typedef struct PropertyDefRNA { const char *dnatype; int dnaarraylength; int dnapointerlevel; + /** + * Offset in bytes within `dnastructname`. + * -1 when unusable (follows pointer for e.g.). */ + int dnaoffset; + int dnasize; /* for finding length of array collections */ const char *dnalengthstructname; |