Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_movieclip.c
| Show First 20 Lines • Show All 332 Lines • ▼ Show 20 Lines | static void rna_def_movieclip(BlenderRNA *brna) | ||||
| RNA_def_property_ui_text(prop, "Proxy Custom Directory", | RNA_def_property_ui_text(prop, "Proxy Custom Directory", | ||||
| "Create proxy images in a custom directory (default is movie location)"); | "Create proxy images in a custom directory (default is movie location)"); | ||||
| RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, "rna_MovieClip_reload_update"); | RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, "rna_MovieClip_reload_update"); | ||||
| /* grease pencil */ | /* grease pencil */ | ||||
| prop = RNA_def_property(srna, "grease_pencil", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "grease_pencil", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_pointer_sdna(prop, NULL, "gpd"); | RNA_def_property_pointer_sdna(prop, NULL, "gpd"); | ||||
| RNA_def_property_struct_type(prop, "GreasePencil"); | RNA_def_property_struct_type(prop, "GreasePencil"); | ||||
| RNA_def_property_pointer_funcs(prop, NULL, NULL, NULL, "rna_GPencil_datablocks_annotations_poll"); | |||||
| RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT); | RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT); | ||||
| RNA_def_property_ui_text(prop, "Grease Pencil", "Grease pencil data for this movie clip"); | RNA_def_property_ui_text(prop, "Grease Pencil", "Grease pencil data for this movie clip"); | ||||
| RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, NULL); | RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, NULL); | ||||
| /* start_frame */ | /* start_frame */ | ||||
| prop = RNA_def_property(srna, "frame_start", PROP_INT, PROP_NONE); | prop = RNA_def_property(srna, "frame_start", PROP_INT, PROP_NONE); | ||||
| RNA_def_property_int_sdna(prop, NULL, "start_frame"); | RNA_def_property_int_sdna(prop, NULL, "start_frame"); | ||||
| RNA_def_property_ui_text(prop, "Start Frame", "Global scene frame number at which this movie starts playing " | RNA_def_property_ui_text(prop, "Start Frame", "Global scene frame number at which this movie starts playing " | ||||
| ▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines | |||||