diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-08 23:30:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-08 23:30:48 +0400 |
commit | a8a567d28eb67f4b8403be4f4959e07d1dd8628e (patch) | |
tree | 21ce558df4592d64d863abe7d7c90cf250b02754 /source/blender/makesrna/RNA_types.h | |
parent | 06e0e3fb8aabe49ef915263b6a70e12f5534a9ba (diff) |
RNA: add flag to be used for changing numbers proportionally
Diffstat (limited to 'source/blender/makesrna/RNA_types.h')
-rw-r--r-- | source/blender/makesrna/RNA_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h index 26b107bf610..4bf0719f5c0 100644 --- a/source/blender/makesrna/RNA_types.h +++ b/source/blender/makesrna/RNA_types.h @@ -187,6 +187,11 @@ typedef enum PropertyFlag { PROP_REGISTER = (1 << 4), PROP_REGISTER_OPTIONAL = PROP_REGISTER | (1 << 5), + /* numbers */ + + /* each value is related proportionally (object scale, image size) */ + PROP_PROPORTIONAL = (1 << 26), + /* pointers */ PROP_ID_REFCOUNT = (1 << 6), |