Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_main.c
| Show First 20 Lines • Show All 203 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| static void rna_Main_sound_begin(CollectionPropertyIterator *iter, PointerRNA *ptr) | static void rna_Main_sound_begin(CollectionPropertyIterator *iter, PointerRNA *ptr) | ||||
| { | { | ||||
| Main *bmain = (Main *)ptr->data; | Main *bmain = (Main *)ptr->data; | ||||
| rna_iterator_listbase_begin(iter, &bmain->sound, NULL); | rna_iterator_listbase_begin(iter, &bmain->sound, NULL); | ||||
| } | } | ||||
| static void rna_Main_group_begin(CollectionPropertyIterator *iter, PointerRNA *ptr) | static void rna_Main_collection_begin(CollectionPropertyIterator *iter, PointerRNA *ptr) | ||||
| { | { | ||||
| Main *bmain = (Main *)ptr->data; | Main *bmain = (Main *)ptr->data; | ||||
| rna_iterator_listbase_begin(iter, &bmain->group, NULL); | rna_iterator_listbase_begin(iter, &bmain->collection, NULL); | ||||
| } | } | ||||
| static void rna_Main_armature_begin(CollectionPropertyIterator *iter, PointerRNA *ptr) | static void rna_Main_armature_begin(CollectionPropertyIterator *iter, PointerRNA *ptr) | ||||
| { | { | ||||
| Main *bmain = (Main *)ptr->data; | Main *bmain = (Main *)ptr->data; | ||||
| rna_iterator_listbase_begin(iter, &bmain->armature, NULL); | rna_iterator_listbase_begin(iter, &bmain->armature, NULL); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 136 Lines • ▼ Show 20 Lines | MainCollectionDef lists[] = { | ||||
| {"images", "Image", "rna_Main_image_begin", "Images", "Image data-blocks", RNA_def_main_images}, | {"images", "Image", "rna_Main_image_begin", "Images", "Image data-blocks", RNA_def_main_images}, | ||||
| {"lattices", "Lattice", "rna_Main_latt_begin", "Lattices", "Lattice data-blocks", RNA_def_main_lattices}, | {"lattices", "Lattice", "rna_Main_latt_begin", "Lattices", "Lattice data-blocks", RNA_def_main_lattices}, | ||||
| {"curves", "Curve", "rna_Main_curve_begin", "Curves", "Curve data-blocks", RNA_def_main_curves}, | {"curves", "Curve", "rna_Main_curve_begin", "Curves", "Curve data-blocks", RNA_def_main_curves}, | ||||
| {"metaballs", "MetaBall", "rna_Main_mball_begin", "Metaballs", "Metaball data-blocks", RNA_def_main_metaballs}, | {"metaballs", "MetaBall", "rna_Main_mball_begin", "Metaballs", "Metaball data-blocks", RNA_def_main_metaballs}, | ||||
| {"fonts", "VectorFont", "rna_Main_font_begin", "Vector Fonts", "Vector font data-blocks", RNA_def_main_fonts}, | {"fonts", "VectorFont", "rna_Main_font_begin", "Vector Fonts", "Vector font data-blocks", RNA_def_main_fonts}, | ||||
| {"textures", "Texture", "rna_Main_tex_begin", "Textures", "Texture data-blocks", RNA_def_main_textures}, | {"textures", "Texture", "rna_Main_tex_begin", "Textures", "Texture data-blocks", RNA_def_main_textures}, | ||||
| {"brushes", "Brush", "rna_Main_brush_begin", "Brushes", "Brush data-blocks", RNA_def_main_brushes}, | {"brushes", "Brush", "rna_Main_brush_begin", "Brushes", "Brush data-blocks", RNA_def_main_brushes}, | ||||
| {"worlds", "World", "rna_Main_world_begin", "Worlds", "World data-blocks", RNA_def_main_worlds}, | {"worlds", "World", "rna_Main_world_begin", "Worlds", "World data-blocks", RNA_def_main_worlds}, | ||||
| {"groups", "Group", "rna_Main_group_begin", "Groups", "Group data-blocks", RNA_def_main_groups}, | {"collections", "Collection", "rna_Main_collection_begin", "Collections", "Collection data-blocks", RNA_def_main_collections}, | ||||
| {"shape_keys", "Key", "rna_Main_key_begin", "Shape Keys", "Shape Key data-blocks", NULL}, | {"shape_keys", "Key", "rna_Main_key_begin", "Shape Keys", "Shape Key data-blocks", NULL}, | ||||
| {"texts", "Text", "rna_Main_text_begin", "Texts", "Text data-blocks", RNA_def_main_texts}, | {"texts", "Text", "rna_Main_text_begin", "Texts", "Text data-blocks", RNA_def_main_texts}, | ||||
| {"speakers", "Speaker", "rna_Main_speaker_begin", "Speakers", "Speaker data-blocks", RNA_def_main_speakers}, | {"speakers", "Speaker", "rna_Main_speaker_begin", "Speakers", "Speaker data-blocks", RNA_def_main_speakers}, | ||||
| {"sounds", "Sound", "rna_Main_sound_begin", "Sounds", "Sound data-blocks", RNA_def_main_sounds}, | {"sounds", "Sound", "rna_Main_sound_begin", "Sounds", "Sound data-blocks", RNA_def_main_sounds}, | ||||
| {"armatures", "Armature", "rna_Main_armature_begin", "Armatures", "Armature data-blocks", RNA_def_main_armatures}, | {"armatures", "Armature", "rna_Main_armature_begin", "Armatures", "Armature data-blocks", RNA_def_main_armatures}, | ||||
| {"actions", "Action", "rna_Main_action_begin", "Actions", "Action data-blocks", RNA_def_main_actions}, | {"actions", "Action", "rna_Main_action_begin", "Actions", "Action data-blocks", RNA_def_main_actions}, | ||||
| {"particles", "ParticleSettings", "rna_Main_particle_begin", "Particles", "Particle data-blocks", RNA_def_main_particles}, | {"particles", "ParticleSettings", "rna_Main_particle_begin", "Particles", "Particle data-blocks", RNA_def_main_particles}, | ||||
| {"palettes", "Palette", "rna_Main_palettes_begin", "Palettes", "Palette data-blocks", RNA_def_main_palettes}, | {"palettes", "Palette", "rna_Main_palettes_begin", "Palettes", "Palette data-blocks", RNA_def_main_palettes}, | ||||
| ▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines | |||||