Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/makesrna/intern/rna_internal.h')
-rw-r--r--source/blender/makesrna/intern/rna_internal.h5
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;