Revision: 37652
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37652
Author:   campbellbarton
Date:     2011-06-20 03:24:07 +0000 (Mon, 20 Jun 2011)
Log Message:
-----------
fix [#27664] startup.blend - manipulator user-prefs
regarding issues in the report
 1) fixed in previous commit.
 2) intentional leaving as is.
 3) left 'handle size' as is IMHO acceptably general, edited 'hotshop' tooltip/
 4) corrected default values.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_userdef.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_userdef.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_userdef.c  2011-06-20 
03:14:19 UTC (rev 37651)
+++ trunk/blender/source/blender/makesrna/intern/rna_userdef.c  2011-06-20 
03:24:07 UTC (rev 37652)
@@ -2115,19 +2115,22 @@
        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_int_default(prop, 15);
        RNA_def_property_ui_text(prop, "Manipulator Size", "Diameter of widget, 
in 10 pixel units");
        RNA_def_property_update(prop, 0, "rna_userdef_update");
 
        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_int_default(prop, 25);
        RNA_def_property_ui_text(prop, "Manipulator Handle Size", "Size of 
widget handles as percentage of widget radius");
        RNA_def_property_update(prop, 0, "rna_userdef_update");
 
        prop= RNA_def_property(srna, "manipulator_hotspot", PROP_INT, 
PROP_NONE);
        RNA_def_property_int_sdna(prop, NULL, "tw_hotspot");
        RNA_def_property_range(prop, 4, 40);
-       RNA_def_property_ui_text(prop, "Manipulator Hotspot", "Hotspot in 
pixels for clicking widget handles");
+       RNA_def_property_int_default(prop, 14);
+       RNA_def_property_ui_text(prop, "Manipulator Hotspot", "Pixel distance 
around the handles to accept mouse clicks");
 
        prop= RNA_def_property(srna, "object_origin_size", PROP_INT, PROP_NONE);
        RNA_def_property_int_sdna(prop, NULL, "obcenter_dia");

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to