Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_action.c
| Show First 20 Lines • Show All 507 Lines • ▼ Show 20 Lines | static void rna_def_dopesheet(BlenderRNA *brna) | ||||
| RNA_def_property_ui_icon(prop, ICON_SPEAKER, 0); | RNA_def_property_ui_icon(prop, ICON_SPEAKER, 0); | ||||
| RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL); | RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL); | ||||
| prop = RNA_def_property(srna, "show_gpencil", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_gpencil", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOGPENCIL); | RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOGPENCIL); | ||||
| RNA_def_property_ui_text(prop, "Display Grease Pencil", "Include visualization of Grease Pencil related animation data and frames"); | RNA_def_property_ui_text(prop, "Display Grease Pencil", "Include visualization of Grease Pencil related animation data and frames"); | ||||
| RNA_def_property_ui_icon(prop, ICON_GREASEPENCIL, 0); | RNA_def_property_ui_icon(prop, ICON_GREASEPENCIL, 0); | ||||
| RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL); | RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL); | ||||
| /* GPencil Mode Settings */ | /* GPencil Mode Settings */ | ||||
| prop = RNA_def_property(srna, "show_gpencil_3d_only", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_gpencil_3d_only", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "filterflag", ADS_FILTER_GP_3DONLY); | RNA_def_property_boolean_sdna(prop, NULL, "filterflag", ADS_FILTER_GP_3DONLY); | ||||
| RNA_def_property_ui_text(prop, "Active Scene Only", | RNA_def_property_ui_text(prop, "Active Scene Only", | ||||
| "Only show Grease Pencil data-blocks used as part of the active scene"); | "Only show Grease Pencil data-blocks used as part of the active scene"); | ||||
campbellbarton: Remove me, unused. | |||||
| RNA_def_property_ui_icon(prop, ICON_SCENE_DATA, 0); | RNA_def_property_ui_icon(prop, ICON_SCENE_DATA, 0); | ||||
| RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL); | RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL); | ||||
| } | } | ||||
| static void rna_def_action_group(BlenderRNA *brna) | static void rna_def_action_group(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| ▲ Show 20 Lines • Show All 223 Lines • Show Last 20 Lines | |||||
Remove me, unused.