Made menu text more consistent, using '...' when a menu item spawns a popup or confirmation, and removing redundant starting words in submenus.
Also added notifiers for user prefs, and tweaked wave modifier layout.
This commit is contained in:
@@ -1662,16 +1662,19 @@ static void rna_def_userdef_view(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "show_mini_axis", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_SHOW_ROTVIEWICON);
|
||||
RNA_def_property_ui_text(prop, "Show Mini Axis", "Show a small rotating 3D axis in the bottom left corner of the 3D View.");
|
||||
RNA_def_property_update(prop, NC_WINDOW, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "mini_axis_size", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "rvisize");
|
||||
RNA_def_property_range(prop, 10, 64);
|
||||
RNA_def_property_ui_text(prop, "Mini Axis Size", "The axis icon's size.");
|
||||
RNA_def_property_update(prop, NC_WINDOW, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "mini_axis_brightness", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "rvibright");
|
||||
RNA_def_property_range(prop, 0, 10);
|
||||
RNA_def_property_ui_text(prop, "Mini Axis Brightness", "The brightness of the icon.");
|
||||
RNA_def_property_update(prop, NC_WINDOW, NULL);
|
||||
|
||||
/* middle mouse button */
|
||||
prop= RNA_def_property(srna, "middle_mouse_rotate", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -1705,16 +1708,19 @@ static void rna_def_userdef_view(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "use_manipulator", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "tw_flag", 1);
|
||||
RNA_def_property_ui_text(prop, "Manipulator", "Use 3d transform manipulator.");
|
||||
RNA_def_property_update(prop, NC_WINDOW, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "manipulator_size", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "tw_size");
|
||||
RNA_def_property_range(prop, 2, 40);
|
||||
RNA_def_property_ui_text(prop, "Manipulator Size", "Diameter of widget, in 10 pixel units.");
|
||||
RNA_def_property_update(prop, NC_WINDOW, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "manipulator_handle_size", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "tw_handlesize");
|
||||
RNA_def_property_range(prop, 2, 40);
|
||||
RNA_def_property_ui_text(prop, "Manipulator Handle Size", "Size of widget handles as percentage of widget radius.");
|
||||
RNA_def_property_update(prop, NC_WINDOW, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "manipulator_hotspot", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "tw_hotspot");
|
||||
@@ -1725,6 +1731,7 @@ static void rna_def_userdef_view(BlenderRNA *brna)
|
||||
RNA_def_property_int_sdna(prop, NULL, "obcenter_dia");
|
||||
RNA_def_property_range(prop, 4, 10);
|
||||
RNA_def_property_ui_text(prop, "Object Center Size", "Diameter in Pixels for Object/Lamp center display.");
|
||||
RNA_def_property_update(prop, NC_WINDOW, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "ndof_pan_speed", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "ndof_pan");
|
||||
|
||||
Reference in New Issue
Block a user