diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-04-17 19:03:41 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-04-17 19:07:08 +0300 |
commit | 75f82ac7223719b400c1a137cafe3027cd3a2536 (patch) | |
tree | a770e55f194573df092c9544a972be3159922329 /source/blender/makesdna | |
parent | fad7c065c213347685ee6c3d5884e55123ca8efb (diff) |
Update/improve handling of 'overridable' status of properties.
Main new thing in this commit is ability for real IDProps (aka custom
properties) to be set as overridable or not, they are not by default.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index ba4b0970313..edab09351ee 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -109,6 +109,9 @@ enum { /*->flag*/ enum { + /* This IDProp may be statically overridden. Should only be used/be relevant for custom properties. */ + IDP_FLAG_OVERRIDABLE_STATIC = 1 << 0, + IDP_FLAG_GHOST = 1 << 7, /* this means the property is set but RNA will return false when checking * 'RNA_property_is_set', currently this is a runtime flag */ }; |