Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 7,855 Lines • ▼ Show 20 Lines | void RNA_def_scene(BlenderRNA *brna) | ||||
| RNA_def_property_pointer_funcs(prop, NULL, "rna_Scene_set_set", NULL, NULL); | RNA_def_property_pointer_funcs(prop, NULL, "rna_Scene_set_set", NULL, NULL); | ||||
| RNA_def_property_ui_text(prop, "Background Scene", "Background set scene"); | RNA_def_property_ui_text(prop, "Background Scene", "Background set scene"); | ||||
| RNA_def_property_update(prop, NC_SCENE | NA_EDITED, "rna_Scene_set_update"); | RNA_def_property_update(prop, NC_SCENE | NA_EDITED, "rna_Scene_set_update"); | ||||
| prop = RNA_def_property(srna, "world", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "world", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_flag(prop, PROP_EDITABLE); | RNA_def_property_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); | RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); | ||||
| RNA_def_property_ui_text(prop, "World", "World used for rendering the scene"); | RNA_def_property_ui_text(prop, "World", "World used for rendering the scene"); | ||||
| RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_WORLD); | |||||
| RNA_def_property_update(prop, NC_SCENE | ND_WORLD, "rna_Scene_world_update"); | RNA_def_property_update(prop, NC_SCENE | ND_WORLD, "rna_Scene_world_update"); | ||||
| prop = RNA_def_property(srna, "objects", PROP_COLLECTION, PROP_NONE); | prop = RNA_def_property(srna, "objects", PROP_COLLECTION, PROP_NONE); | ||||
| RNA_def_property_struct_type(prop, "Object"); | RNA_def_property_struct_type(prop, "Object"); | ||||
| RNA_def_property_ui_text(prop, "Objects", ""); | RNA_def_property_ui_text(prop, "Objects", ""); | ||||
| RNA_def_property_collection_funcs(prop, | RNA_def_property_collection_funcs(prop, | ||||
| "rna_Scene_objects_begin", | "rna_Scene_objects_begin", | ||||
| "rna_Scene_objects_next", | "rna_Scene_objects_next", | ||||
| ▲ Show 20 Lines • Show All 456 Lines • Show Last 20 Lines | |||||