From 3ad13869fe2d96d9ca846a4ca7318c2e368e505b Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 5 Apr 2013 00:53:37 +0000 Subject: Fix #34862: some operators like mesh separate or object clear parent were not showing shortcuts in menus, now it shows them in the submenu. --- source/blender/makesrna/RNA_access.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source/blender/makesrna/RNA_access.h') diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h index efa6f37648a..316ebc70f3c 100644 --- a/source/blender/makesrna/RNA_access.h +++ b/source/blender/makesrna/RNA_access.h @@ -1077,10 +1077,11 @@ __attribute__ ((format(printf, 1, 2))) #endif ; -/* Equals test (skips pointers and collections) */ +/* Equals test (skips pointers and collections) + * is_strict false assumes uninitialized properties are equal */ -int RNA_property_equals(struct PointerRNA *a, struct PointerRNA *b, struct PropertyRNA *prop); -int RNA_struct_equals(struct PointerRNA *a, struct PointerRNA *b); +bool RNA_property_equals(struct PointerRNA *a, struct PointerRNA *b, struct PropertyRNA *prop, bool is_strict); +bool RNA_struct_equals(struct PointerRNA *a, struct PointerRNA *b, bool is_strict); #ifdef __cplusplus } -- cgit v1.2.3