[Bf-blender-cvs] [338f40c] master: NDOF: yaw/pitch were swapped and add timeline fit.
Campbell Barton
noreply at git.blender.org
Thu Feb 20 03:32:42 CET 2014
Commit: 338f40cce3d0a929d6493037aae95bc53e3267c0
Author: Campbell Barton
Date: Thu Feb 20 13:31:47 2014 +1100
https://developer.blender.org/rB338f40cce3d0a929d6493037aae95bc53e3267c0
NDOF: yaw/pitch were swapped and add timeline fit.
===================================================================
M source/blender/editors/space_time/time_ops.c
M source/blender/makesrna/intern/rna_userdef.c
===================================================================
diff --git a/source/blender/editors/space_time/time_ops.c b/source/blender/editors/space_time/time_ops.c
index 9067fb6..e2e861f 100644
--- a/source/blender/editors/space_time/time_ops.c
+++ b/source/blender/editors/space_time/time_ops.c
@@ -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);
}
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index cca619c..79baf50 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -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);
More information about the Bf-blender-cvs
mailing list