diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-05-20 13:52:02 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-05-20 13:52:02 +0400 |
commit | f1286b15a3ce11c1b85b7d387fb7f3e1a243bff5 (patch) | |
tree | dd6b6b3bab836dbe069b08682607224dbdcf25cb /source/blender/makesrna/intern/makesrna.c | |
parent | d80911b8675582dca46ce78c17d5434b66a27f18 (diff) |
RNA:
* Any Struct can now have ID properties, by creating a callback
function to create/return an IDProperty.
* Wrapped PoseChannel ID properties.
* Note there is still no way to create ID Properties in 2.5, though
the callback to get/create the initial group is now exposed through
RNA_struct_idproperties.
Diffstat (limited to 'source/blender/makesrna/intern/makesrna.c')
-rw-r--r-- | source/blender/makesrna/intern/makesrna.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index 615db3628f8..2c383c191d8 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -1706,6 +1706,7 @@ static void rna_generate_struct(BlenderRNA *brna, StructRNA *srna, FILE *f) fprintf(f, "\t%s,\n", rna_function_string(srna->path)); fprintf(f, "\t%s,\n", rna_function_string(srna->reg)); fprintf(f, "\t%s,\n", rna_function_string(srna->unreg)); + fprintf(f, "\t%s,\n", rna_function_string(srna->idproperties)); if(srna->reg && !srna->refine) { fprintf(stderr, "rna_generate_struct: %s has a register function, must also have refine function.\n", srna->identifier); |