diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-29 18:19:03 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-29 21:03:47 +0300 |
commit | 4c7f08e5ebc107e13501a5b1e82a44edeaf7b7c3 (patch) | |
tree | d99a568556f4595b827229c89a358260803a8252 /source/blender/makesrna/intern/makesrna.c | |
parent | bb770a2c85ffc76018aa28a4a941df1c6081530e (diff) |
Cleanup: remove unused RNA flag.
Diffstat (limited to 'source/blender/makesrna/intern/makesrna.c')
-rw-r--r-- | source/blender/makesrna/intern/makesrna.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index e5644d10add..fbdb8abd3b0 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -2666,7 +2666,7 @@ static void rna_generate_property_prototypes(BlenderRNA *UNUSED(brna), StructRNA fprintf(f, "\n"); for (prop = srna->cont.properties.first; prop; prop = prop->next) - fprintf(f, "%s%s rna_%s_%s;\n", (prop->flag & PROP_EXPORT) ? "" : "", rna_property_structname(prop->type), + fprintf(f, "%s rna_%s_%s;\n", rna_property_structname(prop->type), srna->identifier, prop->identifier); fprintf(f, "\n"); } @@ -3061,8 +3061,7 @@ static void rna_generate_property(FILE *f, StructRNA *srna, const char *nest, Pr break; } - fprintf(f, "%s%s rna_%s%s_%s = {\n", - (prop->flag & PROP_EXPORT) ? "" : "", + fprintf(f, "%s rna_%s%s_%s = {\n", rna_property_structname(prop->type), srna->identifier, strnest, prop->identifier); |