diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-12-13 14:46:25 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-12-13 14:46:25 +0300 |
commit | ae80835d104e9de7bbdb9825c48cc4c96f1e3169 (patch) | |
tree | 8fd51fde18452f6806332991611b5379c1b5da67 /source/blender/makesrna/RNA_access.h | |
parent | 52d33d6ab91082a8a09d0e814a483bc23a759f79 (diff) |
RNA override: Cleanup & small refactor.
Remove unused func from public API.
Make parameters & variables naming more consistent accross the code.
Move RNAproperty validation/'conversion' (for IDProps case) to upper
level in code, this will avoid some useless re-processing.
Diffstat (limited to 'source/blender/makesrna/RNA_access.h')
-rw-r--r-- | source/blender/makesrna/RNA_access.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h index a99541385d0..8d66f59dde5 100644 --- a/source/blender/makesrna/RNA_access.h +++ b/source/blender/makesrna/RNA_access.h @@ -1256,21 +1256,21 @@ bool RNA_struct_equals(struct PointerRNA *a, struct PointerRNA *b, eRNACompareMo /* Override. */ -bool RNA_struct_override_matches(struct PointerRNA *local, struct PointerRNA *reference, +bool RNA_struct_override_matches( + struct PointerRNA *ptr_local, struct PointerRNA *ptr_reference, struct IDOverrideStatic *override, const bool ignore_non_overridable, const bool ignore_overridden); bool RNA_struct_override_store( - struct PointerRNA *local, struct PointerRNA *reference, PointerRNA *storage, struct IDOverrideStatic *override); + struct PointerRNA *ptr_local, struct PointerRNA *ptr_reference, PointerRNA *ptr_storage, + struct IDOverrideStatic *override); -void RNA_property_override_apply( - struct PointerRNA *dst, struct PointerRNA *src, struct PointerRNA *storage, struct PropertyRNA *prop, - struct IDOverrideStaticProperty *op); void RNA_struct_override_apply( - struct PointerRNA *dst, struct PointerRNA *src, struct PointerRNA *storage, + struct PointerRNA *ptr_local, struct PointerRNA *ptr_reference, struct PointerRNA *ptr_storage, struct IDOverrideStatic *override); bool RNA_struct_auto_override( - struct PointerRNA *local, struct PointerRNA *reference, struct IDOverrideStatic *override, const char *root_path); + struct PointerRNA *ptr_local, struct PointerRNA *ptr_reference, + struct IDOverrideStatic *override, const char *root_path); struct IDOverrideStaticProperty *RNA_property_override_property_find(PointerRNA *ptr, PropertyRNA *prop); struct IDOverrideStaticProperty *RNA_property_override_property_get(PointerRNA *ptr, PropertyRNA *prop, bool *r_created); |