diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-04 21:36:13 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-04 21:36:13 +0400 |
commit | 5ed5c7441cdb23c4f5d0efe550fc3562bdbb9cf8 (patch) | |
tree | fbd914b3cc64ae6374ace939f6e500aa09a81f8b /source/blender/makesrna/RNA_access.h | |
parent | 015a32d01c4df3377eec1470827f459d43061b6d (diff) |
new rna api call: RNA_struct_idprops_unset(op->ptr, "someprop"), added to allow un-setting operator properties.
Diffstat (limited to 'source/blender/makesrna/RNA_access.h')
-rw-r--r-- | source/blender/makesrna/RNA_access.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h index 53af242a0ac..5b42e01989e 100644 --- a/source/blender/makesrna/RNA_access.h +++ b/source/blender/makesrna/RNA_access.h @@ -620,7 +620,7 @@ void RNA_struct_blender_type_set(StructRNA *srna, void *blender_type); struct IDProperty *RNA_struct_idprops(PointerRNA *ptr, int create); int RNA_struct_idprops_check(StructRNA *srna); int RNA_struct_idprops_register_check(StructRNA *type); - +int RNA_struct_idprops_unset(PointerRNA *ptr, const char *identifier); PropertyRNA *RNA_struct_find_property(PointerRNA *ptr, const char *identifier); int RNA_struct_contains_property(PointerRNA *ptr, PropertyRNA *prop_test); |