NDOF: yaw/pitch were swapped and add timeline fit.
This commit is contained in:
parent
1df068c39a
commit
338f40cce3
|
@ -192,5 +192,6 @@ void time_keymap(wmKeyConfig *keyconf)
|
|||
WM_keymap_add_item(keymap, "TIME_OT_start_frame_set", SKEY, KM_PRESS, 0, 0);
|
||||
WM_keymap_add_item(keymap, "TIME_OT_end_frame_set", EKEY, KM_PRESS, 0, 0);
|
||||
WM_keymap_add_item(keymap, "TIME_OT_view_all", HOMEKEY, KM_PRESS, 0, 0);
|
||||
WM_keymap_add_item(keymap, "TIME_OT_view_all", NDOF_BUTTON_FIT, KM_PRESS, 0, 0);
|
||||
}
|
||||
|
||||
|
|
|
@ -4081,12 +4081,12 @@ static void rna_def_userdef_input(BlenderRNA *brna)
|
|||
/* 3D view: yaw */
|
||||
prop = RNA_def_property(srna, "ndof_rotx_invert_axis", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "ndof_flag", NDOF_ROTX_INVERT_AXIS);
|
||||
RNA_def_property_ui_text(prop, "Invert Yaw (X) Axis", "");
|
||||
RNA_def_property_ui_text(prop, "Invert Pitch (X) Axis", "");
|
||||
|
||||
/* 3D view: pitch */
|
||||
prop = RNA_def_property(srna, "ndof_roty_invert_axis", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "ndof_flag", NDOF_ROTY_INVERT_AXIS);
|
||||
RNA_def_property_ui_text(prop, "Invert Pitch (Y) Axis", "");
|
||||
RNA_def_property_ui_text(prop, "Invert Yaw (Y) Axis", "");
|
||||
|
||||
/* 3D view: roll */
|
||||
prop = RNA_def_property(srna, "ndof_rotz_invert_axis", PROP_BOOLEAN, PROP_NONE);
|
||||
|
|
Loading…
Reference in New Issue