Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_action.c
| Show First 20 Lines • Show All 319 Lines • ▼ Show 20 Lines | static void rna_def_dopesheet(BlenderRNA *brna) | ||||
| /* Debug Filtering Settings */ | /* Debug Filtering Settings */ | ||||
| prop = RNA_def_property(srna, "show_only_errors", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_only_errors", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "filterflag", ADS_FILTER_ONLY_ERRORS); | RNA_def_property_boolean_sdna(prop, NULL, "filterflag", ADS_FILTER_ONLY_ERRORS); | ||||
| RNA_def_property_ui_text(prop, "Show Errors", "Only include F-Curves and drivers that are disabled or have errors"); | RNA_def_property_ui_text(prop, "Show Errors", "Only include F-Curves and drivers that are disabled or have errors"); | ||||
| RNA_def_property_ui_icon(prop, ICON_HELP, 0); /* XXX: this doesn't quite fit */ | RNA_def_property_ui_icon(prop, ICON_HELP, 0); /* XXX: this doesn't quite fit */ | ||||
| RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL); | RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL); | ||||
| /* Object Group Filtering Settings */ | /* Object Collection Filtering Settings */ | ||||
| prop = RNA_def_property(srna, "show_only_group_objects", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_only_collection_objects", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "filterflag", ADS_FILTER_ONLYOBGROUP); | RNA_def_property_boolean_sdna(prop, NULL, "filterflag", ADS_FILTER_ONLYOBGROUP); | ||||
| RNA_def_property_ui_text(prop, "Only Objects in Group", | RNA_def_property_ui_text(prop, "Only Objects in Collection", | ||||
| "Only include channels from objects in the specified group"); | "Only include channels from objects in the specified collection"); | ||||
| RNA_def_property_ui_icon(prop, ICON_GROUP, 0); | RNA_def_property_ui_icon(prop, ICON_GROUP, 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, "filter_group", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "filter_collection", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_pointer_sdna(prop, NULL, "filter_grp"); | RNA_def_property_pointer_sdna(prop, NULL, "filter_grp"); | ||||
| RNA_def_property_flag(prop, PROP_EDITABLE); | RNA_def_property_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_ui_text(prop, "Filtering Group", "Group that included object should be a member of"); | RNA_def_property_ui_text(prop, "Filtering Collection", "Collection that included object should be a member of"); | ||||
| RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL); | RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL); | ||||
| /* FCurve Display Name Search Settings */ | /* FCurve Display Name Search Settings */ | ||||
| prop = RNA_def_property(srna, "show_only_matching_fcurves", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_only_matching_fcurves", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "filterflag", ADS_FILTER_BY_FCU_NAME); | RNA_def_property_boolean_sdna(prop, NULL, "filterflag", ADS_FILTER_BY_FCU_NAME); | ||||
| RNA_def_property_ui_text(prop, "Only Matching F-Curves", | RNA_def_property_ui_text(prop, "Only Matching F-Curves", | ||||
| "Only include F-Curves with names containing search text"); | "Only include F-Curves with names containing search text"); | ||||
| RNA_def_property_ui_icon(prop, ICON_VIEWZOOM, 0); | RNA_def_property_ui_icon(prop, ICON_VIEWZOOM, 0); | ||||
| ▲ Show 20 Lines • Show All 405 Lines • Show Last 20 Lines | |||||