diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-20 23:44:20 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-20 23:44:20 +0400 |
commit | ea0d1c74e4930657cceeaee22ca6a41258653068 (patch) | |
tree | f3bd63d3aee265b4ec9c48447af29c1dc894e01a /source/blender/makesrna/RNA_access.h | |
parent | fd619cd7f1fca63a9d19df4301a185c86ea6dc2c (diff) |
Fix #33227: custom keymap syncing didn't work well always when adding/removing
properties from operator, now it compares at RNA rather than ID property level,
which is more accurate.
Diffstat (limited to 'source/blender/makesrna/RNA_access.h')
-rw-r--r-- | source/blender/makesrna/RNA_access.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h index c9b44be06f9..3afafdded64 100644 --- a/source/blender/makesrna/RNA_access.h +++ b/source/blender/makesrna/RNA_access.h @@ -1054,6 +1054,11 @@ __attribute__ ((format(printf, 1, 2))) #endif ; +/* Equals test (skips pointers and collections) */ + +int RNA_property_equals(struct PointerRNA *a, struct PointerRNA *b, struct PropertyRNA *prop); +int RNA_struct_equals(struct PointerRNA *a, struct PointerRNA *b); + #ifdef __cplusplus } #endif |