[Bf-blender-cvs] [9ad2623] pie-menus: Corrections to user preference descriptions and UI style.

Antony Riakiotakis noreply at git.blender.org
Fri Jun 6 02:38:59 CEST 2014


Commit: 9ad2623d0dd0ba1448b5131b0db9f7d08ce64908
Author: Antony Riakiotakis
Date:   Fri Jun 6 03:38:48 2014 +0300
https://developer.blender.org/rB9ad2623d0dd0ba1448b5131b0db9f7d08ce64908

Corrections to user preference descriptions and UI style.

===================================================================

M	release/scripts/startup/bl_ui/space_userpref.py
M	source/blender/makesrna/intern/rna_userdef.c

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index ffc2218..be3abcd 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -218,9 +218,10 @@ class USERPREF_PT_interface(Panel):
 
         col.separator()
         col.label(text="Pie Menus:")
-        col.prop(view, "pie_drag_timeout")
-        col.prop(view, "pie_initial_timeout")
-        col.prop(view, "pie_menu_radius")
+        sub = col.column(align=True)
+        sub.prop(view, "pie_drag_timeout")
+        sub.prop(view, "pie_initial_timeout")
+        sub.prop(view, "pie_menu_radius")
         col.separator()
         col.separator()
         col.separator()
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index e55c02e..af486ab 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -3198,15 +3198,15 @@ static void rna_def_userdef_view(BlenderRNA *brna)
 	/* pie menus */
 	prop = RNA_def_property(srna, "pie_drag_timeout", PROP_INT, PROP_NONE);
 	RNA_def_property_range(prop, 0, 100);
-	RNA_def_property_ui_text(prop, "Drag Timeout", "Pie Menus turn to drag style after this amount of time (in  1/10ths of sec)");
+	RNA_def_property_ui_text(prop, "Drag Timeout", "Pie menus turn to drag style after this amount of time (in  1/10ths of sec)");
 
 	prop = RNA_def_property(srna, "pie_initial_timeout", PROP_INT, PROP_NONE);
 	RNA_def_property_range(prop, 0, 100);
-	RNA_def_property_ui_text(prop, "Recenter Timeout", "Pie Menus will use the mouse position as center for this amount of time (in  1/10ths of sec)");
+	RNA_def_property_ui_text(prop, "Recenter Timeout", "Pie menus will use the initial mouse position as center for this amount of time (in  1/10ths of sec)");
 
 	prop = RNA_def_property(srna, "pie_menu_radius", PROP_INT, PROP_NONE);
 	RNA_def_property_range(prop, 0, 1000);
-	RNA_def_property_ui_text(prop, "Radius", "Pie Menus will use the mouse position as center for this amount of time (in  1/10ths of sec)");
+	RNA_def_property_ui_text(prop, "Radius", "Pie menu size in pixels");
 
 	prop = RNA_def_property(srna, "use_quit_dialog", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_QUIT_PROMPT);




More information about the Bf-blender-cvs mailing list