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:
authorCampbell Barton <ideasman42@gmail.com>2009-12-29 01:59:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-12-29 01:59:09 +0300
commitd741b3723633f68c960d5fb1ff677f7a72e652ac (patch)
tree491dea84e04b6220ca66a8ab3a4e7b98e4ad9987 /source/blender/makesrna/RNA_types.h
parent54d64c47632adb4b88ba07ab351239cbedd9dfa4 (diff)
flag to make rna props 'thick wrapped', so returning a property wont try maintain a reference to the original rna property with callbacks.
also needed for functions that return vectors/matrix's
Diffstat (limited to 'source/blender/makesrna/RNA_types.h')
-rw-r--r--source/blender/makesrna/RNA_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h
index 90603f98c7a..8cc949f628e 100644
--- a/source/blender/makesrna/RNA_types.h
+++ b/source/blender/makesrna/RNA_types.h
@@ -175,6 +175,10 @@ typedef enum PropertyFlag {
/* need context for update function */
PROP_CONTEXT_UPDATE = 1<<22,
+ /* Use for arrays or for any data that should not have a referene kept
+ * most common case is functions that return arrays where the array */
+ PROP_THICK_WRAP = 1<<23,
+
/* internal flags */
PROP_BUILTIN = 1<<7,
PROP_EXPORT = 1<<8,