forked from bartvdbraak/blender
Clarifying tooltips on userpref keyframing options
These probably still need a good review (based on discussions I've had with animators), but this should be a good stop-gap measure in the mean time
This commit is contained in:
parent
900928f8bf
commit
e9bd246e3b
@ -2238,13 +2238,13 @@ static void rna_def_userdef_edit(BlenderRNA *brna)
|
|||||||
/* auto keyframing */
|
/* auto keyframing */
|
||||||
prop= RNA_def_property(srna, "use_auto_keying", PROP_BOOLEAN, PROP_NONE);
|
prop= RNA_def_property(srna, "use_auto_keying", PROP_BOOLEAN, PROP_NONE);
|
||||||
RNA_def_property_boolean_sdna(prop, NULL, "autokey_mode", AUTOKEY_ON);
|
RNA_def_property_boolean_sdna(prop, NULL, "autokey_mode", AUTOKEY_ON);
|
||||||
RNA_def_property_ui_text(prop, "Auto Keying Enable", "Automatic keyframe insertion for Objects and Bones");
|
RNA_def_property_ui_text(prop, "Auto Keying Enable", "Automatic keyframe insertion for Objects and Bones (default setting used for new Scenes)");
|
||||||
RNA_def_property_ui_icon(prop, ICON_REC, 0);
|
RNA_def_property_ui_icon(prop, ICON_REC, 0);
|
||||||
|
|
||||||
prop= RNA_def_property(srna, "auto_keying_mode", PROP_ENUM, PROP_NONE);
|
prop= RNA_def_property(srna, "auto_keying_mode", PROP_ENUM, PROP_NONE);
|
||||||
RNA_def_property_enum_items(prop, auto_key_modes);
|
RNA_def_property_enum_items(prop, auto_key_modes);
|
||||||
RNA_def_property_enum_funcs(prop, "rna_userdef_autokeymode_get", "rna_userdef_autokeymode_set", NULL);
|
RNA_def_property_enum_funcs(prop, "rna_userdef_autokeymode_get", "rna_userdef_autokeymode_set", NULL);
|
||||||
RNA_def_property_ui_text(prop, "Auto Keying Mode", "Mode of automatic keyframe insertion for Objects and Bones");
|
RNA_def_property_ui_text(prop, "Auto Keying Mode", "Mode of automatic keyframe insertion for Objects and Bones (default setting used for new Scenes)");
|
||||||
|
|
||||||
prop= RNA_def_property(srna, "use_keyframe_insert_available", PROP_BOOLEAN, PROP_NONE);
|
prop= RNA_def_property(srna, "use_keyframe_insert_available", PROP_BOOLEAN, PROP_NONE);
|
||||||
RNA_def_property_boolean_sdna(prop, NULL, "autokey_flag", AUTOKEY_FLAG_INSERTAVAIL);
|
RNA_def_property_boolean_sdna(prop, NULL, "autokey_flag", AUTOKEY_FLAG_INSERTAVAIL);
|
||||||
@ -2266,12 +2266,12 @@ static void rna_def_userdef_edit(BlenderRNA *brna)
|
|||||||
prop= RNA_def_property(srna, "keyframe_new_interpolation_type", PROP_ENUM, PROP_NONE);
|
prop= RNA_def_property(srna, "keyframe_new_interpolation_type", PROP_ENUM, PROP_NONE);
|
||||||
RNA_def_property_enum_items(prop, beztriple_interpolation_mode_items);
|
RNA_def_property_enum_items(prop, beztriple_interpolation_mode_items);
|
||||||
RNA_def_property_enum_sdna(prop, NULL, "ipo_new");
|
RNA_def_property_enum_sdna(prop, NULL, "ipo_new");
|
||||||
RNA_def_property_ui_text(prop, "New Interpolation Type", "");
|
RNA_def_property_ui_text(prop, "New Interpolation Type", "Interpolation mode used for first keyframe on newly added F-Curves. Subsequent keyframes take interpolation from preceeding keyframe");
|
||||||
|
|
||||||
prop= RNA_def_property(srna, "keyframe_new_handle_type", PROP_ENUM, PROP_NONE);
|
prop= RNA_def_property(srna, "keyframe_new_handle_type", PROP_ENUM, PROP_NONE);
|
||||||
RNA_def_property_enum_items(prop, keyframe_handle_type_items);
|
RNA_def_property_enum_items(prop, keyframe_handle_type_items);
|
||||||
RNA_def_property_enum_sdna(prop, NULL, "keyhandles_new");
|
RNA_def_property_enum_sdna(prop, NULL, "keyhandles_new");
|
||||||
RNA_def_property_ui_text(prop, "New Handles Type", "");
|
RNA_def_property_ui_text(prop, "New Handles Type", "Handle type for handles of new keyframes");
|
||||||
|
|
||||||
/* frame numbers */
|
/* frame numbers */
|
||||||
prop= RNA_def_property(srna, "use_negative_frames", PROP_BOOLEAN, PROP_NONE);
|
prop= RNA_def_property(srna, "use_negative_frames", PROP_BOOLEAN, PROP_NONE);
|
||||||
|
Loading…
Reference in New Issue
Block a user