Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_depsgraph.c
| Show First 20 Lines • Show All 751 Lines • ▼ Show 20 Lines | RNA_def_property_collection_funcs(prop, | ||||
| "rna_Depsgraph_object_instances_begin", | "rna_Depsgraph_object_instances_begin", | ||||
| "rna_Depsgraph_object_instances_next", | "rna_Depsgraph_object_instances_next", | ||||
| "rna_Depsgraph_object_instances_end", | "rna_Depsgraph_object_instances_end", | ||||
| "rna_Depsgraph_object_instances_get", | "rna_Depsgraph_object_instances_get", | ||||
| NULL, | NULL, | ||||
| NULL, | NULL, | ||||
| NULL, | NULL, | ||||
| NULL); | NULL); | ||||
| RNA_def_property_collection_flag(prop, PROP_COLLECTION_ITERATE_ONLY); | |||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "Object Instances", | "Object Instances", | ||||
| "All object instances to display or render " | "All object instances to display or render " | ||||
| "(Warning: Only use this as an iterator, never as a sequence, " | "(Warning: Only use this as an iterator, never as a sequence, " | ||||
| "and do not keep any references to its items)"); | "and do not keep any references to its items)"); | ||||
| prop = RNA_def_property(srna, "updates", PROP_COLLECTION, PROP_NONE); | prop = RNA_def_property(srna, "updates", PROP_COLLECTION, PROP_NONE); | ||||
| RNA_def_property_struct_type(prop, "DepsgraphUpdate"); | RNA_def_property_struct_type(prop, "DepsgraphUpdate"); | ||||
| Show All 20 Lines | |||||