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>2018-05-01 17:59:48 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-05-01 18:02:30 +0300
commit691c532506086a065aff38df7b834ea83c1de803 (patch)
tree77a9ad9078bb10df95254054b6a572884084f7a7 /source/blender/makesrna/RNA_access.h
parent0636acc59ab3294f59970236bdff39d4cf131a95 (diff)
Static override: rename highly confusing var name in apply code.
We use 'reference' to designate the linked ID which is being overridden by the local one, so using 'reference' to designate the stored local ID in apply RNA code was... not a good idea. ;)
Diffstat (limited to 'source/blender/makesrna/RNA_access.h')
-rw-r--r--source/blender/makesrna/RNA_access.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h
index ad2047d06bc..70a6759b4e8 100644
--- a/source/blender/makesrna/RNA_access.h
+++ b/source/blender/makesrna/RNA_access.h
@@ -1278,7 +1278,7 @@ bool RNA_struct_override_store(
struct IDOverrideStatic *override);
void RNA_struct_override_apply(
- struct PointerRNA *ptr_local, struct PointerRNA *ptr_reference, struct PointerRNA *ptr_storage,
+ struct PointerRNA *ptr_local, struct PointerRNA *ptr_override, struct PointerRNA *ptr_storage,
struct IDOverrideStatic *override);
struct IDOverrideStaticProperty *RNA_property_override_property_find(PointerRNA *ptr, PropertyRNA *prop);