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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-04-11 05:43:50 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-04-11 05:43:50 +0400
commit344449e483fa943ae3eb5acb446dd45ca1cfaca2 (patch)
tree4bf4c455fe5956d5d848fa1492c2b04e4e8d4bb3 /source/blender/makesrna/intern/rna_access.c
parent728767bad74a56ea93dc77b812ce6e8e0366cced (diff)
RNA:
* Added REQUIRED flag for function parameters. * Made dupliframes/verts/faces/groups an enum, and make it editable. * Enum bitflags were broken, fixed.
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r--source/blender/makesrna/intern/rna_access.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index d08516c4a62..6b4e4fb5921 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -401,6 +401,13 @@ PropertySubType RNA_property_subtype(PointerRNA *ptr, PropertyRNA *prop)
return prop->subtype;
}
+int RNA_property_flag(PointerRNA *ptr, PropertyRNA *prop)
+{
+ rna_idproperty_check(&prop, ptr);
+
+ return prop->flag;
+}
+
int RNA_property_array_length(PointerRNA *ptr, PropertyRNA *prop)
{
IDProperty *idprop;