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:
authorBastien Montagne <montagne29@wanadoo.fr>2019-06-15 00:16:04 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-06-15 00:21:12 +0300
commit23254ce4ee6b21b202549b421cf1d98f6a03b33d (patch)
tree77ebd72c7f1cd2776e058f04b5e6e49f14a327ec /source/blender/makesrna/RNA_types.h
parentf64070185808f153d141b26e63942424a1b258b1 (diff)
Cleanup: Rename: Static Override -> Library Override.
Better to make internal code naming match official/UI naming to some extent, this will reduce confusion in the future. This is 'breaking' scripts and files that would use that feature, but since it is not yet officially supported nor exposed in 2.80, as far as that release is concerned, it is effectively a 'no functional changes' commit.
Diffstat (limited to 'source/blender/makesrna/RNA_types.h')
-rw-r--r--source/blender/makesrna/RNA_types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h
index 1cc7d772ecc..aac42fb596b 100644
--- a/source/blender/makesrna/RNA_types.h
+++ b/source/blender/makesrna/RNA_types.h
@@ -216,7 +216,7 @@ typedef enum PropertyFlag {
/* Pointers to data that is not owned by the struct.
* Typical example: Bone.parent, Bone.child, etc., and nearly all ID pointers.
* This is crucial information for processes that walk the whole data of an ID e.g.
- * (like static override).
+ * (like library override).
* Note that all ID pointers are enforced to this by default,
* this probably will need to be rechecked (see ugly infamous NodeTrees of mat/tex/scene/etc.).
*/
@@ -259,7 +259,7 @@ typedef enum PropertyFlag {
/* FREE FLAGS: 2, 3, 4, 5, 6, 7, 8, 9, 12 and above. */
typedef enum PropertyOverrideFlag {
/* Means the property can be overridden by a local 'proxy' of some linked datablock. */
- PROPOVERRIDE_OVERRIDABLE_STATIC = (1 << 0),
+ PROPOVERRIDE_OVERRIDABLE_LIBRARY = (1 << 0),
/* Forbid usage of this property in comparison (& hence override) code.
* Useful e.g. for collections of data like mesh's geometry, particles, etc. */
@@ -268,7 +268,7 @@ typedef enum PropertyOverrideFlag {
/*** Collections-related ***/
/* The property supports insertion (collections only). */
- PROPOVERRIDE_STATIC_INSERTION = (1 << 10),
+ PROPOVERRIDE_LIBRARY_INSERTION = (1 << 10),
/* Only use indices to compare items in the property, never names (collections only). */
/* Useful when nameprop of the items is generated from other data