Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/makesrna.c
| Show First 20 Lines • Show All 3,019 Lines • ▼ Show 20 Lines | fprintf(f, "\t%s, %s | %s, %s, %u, {%u, %u, %u}, %u,\n", | ||||
| rna_property_subtypename(prop->subtype), | rna_property_subtypename(prop->subtype), | ||||
| rna_property_subtype_unit(prop->subtype), | rna_property_subtype_unit(prop->subtype), | ||||
| rna_function_string(prop->getlength), | rna_function_string(prop->getlength), | ||||
| prop->arraydimension, | prop->arraydimension, | ||||
| prop->arraylength[0], | prop->arraylength[0], | ||||
| prop->arraylength[1], | prop->arraylength[1], | ||||
| prop->arraylength[2], | prop->arraylength[2], | ||||
| prop->totarraylength); | prop->totarraylength); | ||||
| fprintf(f, "\t%s%s, %d, %s, %s,\n", | fprintf(f, "\t%s%s, %d, %s, %s, %s, %s, %s,\n", | ||||
| (prop->flag & PROP_CONTEXT_UPDATE) ? "(UpdateFunc)" : "", | (prop->flag & PROP_CONTEXT_UPDATE) ? "(UpdateFunc)" : "", | ||||
| rna_function_string(prop->update), | rna_function_string(prop->update), | ||||
| prop->noteflag, | prop->noteflag, | ||||
| rna_function_string(prop->editable), | rna_function_string(prop->editable), | ||||
| rna_function_string(prop->itemeditable)); | rna_function_string(prop->itemeditable), | ||||
| rna_function_string(prop->override_diff), | |||||
| rna_function_string(prop->override_store), | |||||
| rna_function_string(prop->override_apply)); | |||||
| if (prop->flag_internal & PROP_INTERN_RAW_ACCESS) rna_set_raw_offset(f, srna, prop); | if (prop->flag_internal & PROP_INTERN_RAW_ACCESS) rna_set_raw_offset(f, srna, prop); | ||||
| else fprintf(f, "\t0, -1"); | else fprintf(f, "\t0, -1"); | ||||
| /* our own type - collections/arrays only */ | /* our own type - collections/arrays only */ | ||||
| if (prop->srna) fprintf(f, ", &RNA_%s", (const char *)prop->srna); | if (prop->srna) fprintf(f, ", &RNA_%s", (const char *)prop->srna); | ||||
| else fprintf(f, ", NULL"); | else fprintf(f, ", NULL"); | ||||
| ▲ Show 20 Lines • Show All 1,128 Lines • Show Last 20 Lines | |||||