Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_action.c
| Show First 20 Lines • Show All 562 Lines • ▼ Show 20 Lines | static void rna_def_dopesheet(BlenderRNA *brna) | ||||
| prop = RNA_def_property(srna, "show_cache_files", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_cache_files", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag2", ADS_FILTER_NOCACHEFILES); | RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag2", ADS_FILTER_NOCACHEFILES); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Display Cache Files", "Include visualization of cache file related animation data"); | prop, "Display Cache Files", "Include visualization of cache file related animation data"); | ||||
| RNA_def_property_ui_icon(prop, ICON_FILE, 0); | RNA_def_property_ui_icon(prop, ICON_FILE, 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); | ||||
| # ifdef WITH_NEW_OBJECT_TYPES | |||||
| prop = RNA_def_property(srna, "show_hairs", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag2", ADS_FILTER_NOHAIR); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Display Hair", "Include visualization of hair related animation data"); | |||||
| RNA_def_property_ui_icon(prop, ICON_OUTLINER_OB_HAIR, 0); | |||||
| RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL); | |||||
| prop = RNA_def_property(srna, "show_pointclouds", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag2", ADS_FILTER_NOPOINTCLOUD); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Display Point Cloud", "Include visualization of point cloud related animation data"); | |||||
| RNA_def_property_ui_icon(prop, ICON_OUTLINER_OB_POINTCLOUD, 0); | |||||
| RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL); | |||||
| # endif | |||||
| prop = RNA_def_property(srna, "show_volumes", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag2", ADS_FILTER_NOVOLUME); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Display Volume", "Include visualization of volume related animation data"); | |||||
| RNA_def_property_ui_icon(prop, ICON_OUTLINER_OB_VOLUME, 0); | |||||
| 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( | RNA_def_property_ui_text( | ||||
| prop, | prop, | ||||
| "Display Grease Pencil", | "Display Grease Pencil", | ||||
| "Include visualization of Grease Pencil related animation data and frames"); | "Include visualization of Grease Pencil related animation data and frames"); | ||||
| RNA_def_property_ui_icon(prop, ICON_OUTLINER_OB_GREASEPENCIL, 0); | RNA_def_property_ui_icon(prop, ICON_OUTLINER_OB_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); | ||||
| ▲ Show 20 Lines • Show All 269 Lines • Show Last 20 Lines | |||||