Revision: 20935 http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20935 Author: kazanbas Date: 2009-06-16 18:15:19 +0200 (Tue, 16 Jun 2009)
Log Message: ----------- Updated makesrna to generate correct CollectionPropertyRNAs. Modified Paths: -------------- branches/soc-2009-kazanbas/source/blender/makesrna/intern/makesrna.c Modified: branches/soc-2009-kazanbas/source/blender/makesrna/intern/makesrna.c =================================================================== --- branches/soc-2009-kazanbas/source/blender/makesrna/intern/makesrna.c 2009-06-16 15:44:08 UTC (rev 20934) +++ branches/soc-2009-kazanbas/source/blender/makesrna/intern/makesrna.c 2009-06-16 16:15:19 UTC (rev 20935) @@ -1628,7 +1628,7 @@ } case PROP_COLLECTION: { CollectionPropertyRNA *cprop= (CollectionPropertyRNA*)prop; - fprintf(f, "\t%s, %s, %s, %s, %s, %s, %s, ", rna_function_string(cprop->begin), rna_function_string(cprop->next), rna_function_string(cprop->end), rna_function_string(cprop->get), rna_function_string(cprop->length), rna_function_string(cprop->lookupint), rna_function_string(cprop->lookupstring)); + fprintf(f, "\t%s, %s, %s, %s, %s, %s, %s, %s, ", rna_function_string(cprop->begin), rna_function_string(cprop->next), rna_function_string(cprop->end), rna_function_string(cprop->get), rna_function_string(cprop->length), rna_function_string(cprop->lookupint), rna_function_string(cprop->lookupstring), rna_function_string(cprop->add)); if(cprop->type) fprintf(f, "&RNA_%s\n", (char*)cprop->type); else fprintf(f, "NULL\n"); break; _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs