Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_tracking.c
| Show First 20 Lines • Show All 970 Lines • ▼ Show 20 Lines | static void rna_def_trackingSettings(BlenderRNA *brna) | ||||
| /* cleanup action */ | /* cleanup action */ | ||||
| prop = RNA_def_property(srna, "clean_action", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "clean_action", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_sdna(prop, NULL, "clean_action"); | RNA_def_property_enum_sdna(prop, NULL, "clean_action"); | ||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | ||||
| RNA_def_property_enum_items(prop, cleanup_items); | RNA_def_property_enum_items(prop, cleanup_items); | ||||
| RNA_def_property_ui_text(prop, "Action", "Cleanup action to execute"); | RNA_def_property_ui_text(prop, "Action", "Cleanup action to execute"); | ||||
| /* ** default tracker settings ** */ | |||||
| prop = RNA_def_property(srna, "show_default_expanded", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", TRACKING_SETTINGS_SHOW_DEFAULT_EXPANDED); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Show Expanded", "Show default options expanded in the user interface"); | |||||
| RNA_def_property_ui_icon(prop, ICON_DISCLOSURE_TRI_RIGHT, 1); | |||||
| /* ** extra tracker settings ** */ | |||||
| prop = RNA_def_property(srna, "show_extra_expanded", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", TRACKING_SETTINGS_SHOW_EXTRA_EXPANDED); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Show Expanded", "Show extra options expanded in the user interface"); | |||||
| RNA_def_property_ui_icon(prop, ICON_DISCLOSURE_TRI_RIGHT, 1); | |||||
| /* solver settings */ | /* solver settings */ | ||||
| prop = RNA_def_property(srna, "use_tripod_solver", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_tripod_solver", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "motion_flag", TRACKING_MOTION_TRIPOD); | RNA_def_property_boolean_sdna(prop, NULL, "motion_flag", TRACKING_MOTION_TRIPOD); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, | prop, | ||||
| "Tripod Motion", | "Tripod Motion", | ||||
| "Use special solver to track a stable camera position, such as a tripod"); | "Use special solver to track a stable camera position, such as a tripod"); | ||||
| ▲ Show 20 Lines • Show All 1,596 Lines • Show Last 20 Lines | |||||