[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26794] trunk/blender: More tooltip editing

Daniel Salazar zanqdo at gmail.com
Thu Feb 11 03:03:19 CET 2010


Revision: 26794
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26794
Author:   zanqdo
Date:     2010-02-11 03:03:18 +0100 (Thu, 11 Feb 2010)

Log Message:
-----------
More tooltip editing

Modified Paths:
--------------
    trunk/blender/release/plugins/sequence/color-correction-hsv.c
    trunk/blender/release/plugins/sequence/color-correction-yuv.c
    trunk/blender/release/scripts/ui/space_userpref.py
    trunk/blender/source/blender/editors/object/object_add.c
    trunk/blender/source/blender/editors/screen/area.c
    trunk/blender/source/blender/editors/screen/screen_ops.c
    trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c
    trunk/blender/source/blender/editors/space_graph/graph_edit.c
    trunk/blender/source/blender/editors/uvedit/uvedit_ops.c
    trunk/blender/source/blender/editors/uvedit/uvedit_unwrap_ops.c
    trunk/blender/source/blender/makesrna/intern/rna_userdef.c
    trunk/blender/source/blender/python/generic/IDProp.c
    trunk/blender/source/blender/python/intern/bpy_app.c

Modified: trunk/blender/release/plugins/sequence/color-correction-hsv.c
===================================================================
--- trunk/blender/release/plugins/sequence/color-correction-hsv.c	2010-02-11 01:11:52 UTC (rev 26793)
+++ trunk/blender/release/plugins/sequence/color-correction-hsv.c	2010-02-11 02:03:18 UTC (rev 26794)
@@ -37,7 +37,7 @@
 	{ NUMSLI|FLO, "Hi T:",  0.75, 0.0, 1.0,
 	  "Saturation Highlights Thres"}, 
 	{ TOG|INT,	"Debug", 0.0,	0.0,	1.0,   
-	  "Show curves as overlay."}, 
+	  "Show curves as overlay"}, 
 };
 
 typedef struct Cast {

Modified: trunk/blender/release/plugins/sequence/color-correction-yuv.c
===================================================================
--- trunk/blender/release/plugins/sequence/color-correction-yuv.c	2010-02-11 01:11:52 UTC (rev 26793)
+++ trunk/blender/release/plugins/sequence/color-correction-yuv.c	2010-02-11 02:03:18 UTC (rev 26794)
@@ -36,7 +36,7 @@
 	{ NUMSLI|FLO, "Hi T:",  0.75, 0.0, 1.0,
 	  "Saturation Highlights Thres"}, 
 	{ TOG|INT,	"Debug", 0.0,	0.0,	1.0,   
-	  "Show curves as overlay."}, 
+	  "Show curves as overlay"}, 
 };
 
 typedef struct Cast {

Modified: trunk/blender/release/scripts/ui/space_userpref.py
===================================================================
--- trunk/blender/release/scripts/ui/space_userpref.py	2010-02-11 01:11:52 UTC (rev 26793)
+++ trunk/blender/release/scripts/ui/space_userpref.py	2010-02-11 02:03:18 UTC (rev 26794)
@@ -1359,7 +1359,7 @@
 
 
 class WM_OT_keyconfig_test(bpy.types.Operator):
-    "Test keyconfig for conflicts."
+    "Test keyconfig for conflicts"
     bl_idname = "wm.keyconfig_test"
     bl_label = "Test Key Configuration for Conflicts"
 
@@ -1495,13 +1495,13 @@
 
 
 class WM_OT_keyconfig_import(bpy.types.Operator):
-    "Import key configuration from a python script."
+    "Import key configuration from a python script"
     bl_idname = "wm.keyconfig_import"
     bl_label = "Import Key Configuration..."
 
-    path = bpy.props.StringProperty(name="File Path", description="File path to write file to.")
-    filename = bpy.props.StringProperty(name="File Name", description="Name of the file.")
-    directory = bpy.props.StringProperty(name="Directory", description="Directory of the file.")
+    path = bpy.props.StringProperty(name="File Path", description="File path to write file to")
+    filename = bpy.props.StringProperty(name="File Name", description="Name of the file")
+    directory = bpy.props.StringProperty(name="Directory", description="Directory of the file")
     filter_folder = bpy.props.BoolProperty(name="Filter folders", description="", default=True, options={'HIDDEN'})
     filter_text = bpy.props.BoolProperty(name="Filter text", description="", default=True, options={'HIDDEN'})
     filter_python = bpy.props.BoolProperty(name="Filter python", description="", default=True, options={'HIDDEN'})
@@ -1510,11 +1510,11 @@
 
     def execute(self, context):
         if not self.properties.path:
-            raise Exception("File path not set.")
+            raise Exception("File path not set")
 
         f = open(self.properties.path, "r")
         if not f:
-            raise Exception("Could not open file.")
+            raise Exception("Could not open file")
 
         name_pattern = re.compile("^kc = wm.add_keyconfig\('(.*)'\)$")
 
@@ -1554,24 +1554,24 @@
 
 
 class WM_OT_keyconfig_export(bpy.types.Operator):
-    "Export key configuration to a python script."
+    "Export key configuration to a python script"
     bl_idname = "wm.keyconfig_export"
     bl_label = "Export Key Configuration..."
 
-    path = bpy.props.StringProperty(name="File Path", description="File path to write file to.")
-    filename = bpy.props.StringProperty(name="File Name", description="Name of the file.")
-    directory = bpy.props.StringProperty(name="Directory", description="Directory of the file.")
+    path = bpy.props.StringProperty(name="File Path", description="File path to write file to")
+    filename = bpy.props.StringProperty(name="File Name", description="Name of the file")
+    directory = bpy.props.StringProperty(name="Directory", description="Directory of the file")
     filter_folder = bpy.props.BoolProperty(name="Filter folders", description="", default=True, options={'HIDDEN'})
     filter_text = bpy.props.BoolProperty(name="Filter text", description="", default=True, options={'HIDDEN'})
     filter_python = bpy.props.BoolProperty(name="Filter python", description="", default=True, options={'HIDDEN'})
 
     def execute(self, context):
         if not self.properties.path:
-            raise Exception("File path not set.")
+            raise Exception("File path not set")
 
         f = open(self.properties.path, "w")
         if not f:
-            raise Exception("Could not open file.")
+            raise Exception("Could not open file")
 
         wm = context.manager
         kc = wm.active_keyconfig
@@ -1640,7 +1640,7 @@
 
 
 class WM_OT_keymap_edit(bpy.types.Operator):
-    "Edit key map."
+    "Edit key map"
     bl_idname = "wm.keymap_edit"
     bl_label = "Edit Key Map"
 
@@ -1652,11 +1652,11 @@
 
 
 class WM_OT_keymap_restore(bpy.types.Operator):
-    "Restore key map(s)."
+    "Restore key map(s)"
     bl_idname = "wm.keymap_restore"
     bl_label = "Restore Key Map(s)"
 
-    all = BoolProperty(attr="all", name="All Keymaps", description="Restore all keymaps to default.")
+    all = BoolProperty(attr="all", name="All Keymaps", description="Restore all keymaps to default")
 
     def execute(self, context):
         wm = context.manager
@@ -1672,7 +1672,7 @@
 
 
 class WM_OT_keyitem_restore(bpy.types.Operator):
-    "Restore key map item."
+    "Restore key map item"
     bl_idname = "wm.keyitem_restore"
     bl_label = "Restore Key Map Item"
 
@@ -1689,7 +1689,7 @@
 
 
 class WM_OT_keyitem_add(bpy.types.Operator):
-    "Add key map item."
+    "Add key map item"
     bl_idname = "wm.keyitem_add"
     bl_label = "Add Key Map Item"
 
@@ -1713,7 +1713,7 @@
 
 
 class WM_OT_keyitem_remove(bpy.types.Operator):
-    "Remove key map item."
+    "Remove key map item"
     bl_idname = "wm.keyitem_remove"
     bl_label = "Remove Key Map Item"
 
@@ -1728,7 +1728,7 @@
 
 
 class WM_OT_keyconfig_remove(bpy.types.Operator):
-    "Remove key config."
+    "Remove key config"
     bl_idname = "wm.keyconfig_remove"
     bl_label = "Remove Key Config"
 

Modified: trunk/blender/source/blender/editors/object/object_add.c
===================================================================
--- trunk/blender/source/blender/editors/object/object_add.c	2010-02-11 01:11:52 UTC (rev 26793)
+++ trunk/blender/source/blender/editors/object/object_add.c	2010-02-11 02:03:18 UTC (rev 26794)
@@ -829,11 +829,11 @@
 void OBJECT_OT_lamp_add(wmOperatorType *ot)
 {	
 	static EnumPropertyItem lamp_type_items[] = {
-		{LA_LOCAL, "POINT", ICON_LAMP_POINT, "Point", "Omnidirectional point light source."},
-		{LA_SUN, "SUN", ICON_LAMP_SUN, "Sun", "Constant direction parallel ray light source."},
-		{LA_SPOT, "SPOT", ICON_LAMP_SPOT, "Spot", "Directional cone light source."},
-		{LA_HEMI, "HEMI", ICON_LAMP_HEMI, "Hemi", "180 degree constant light source."},
-		{LA_AREA, "AREA", ICON_LAMP_AREA, "Area", "Directional area light source."},
+		{LA_LOCAL, "POINT", ICON_LAMP_POINT, "Point", "Omnidirectional point light source"},
+		{LA_SUN, "SUN", ICON_LAMP_SUN, "Sun", "Constant direction parallel ray light source"},
+		{LA_SPOT, "SPOT", ICON_LAMP_SPOT, "Spot", "Directional cone light source"},
+		{LA_HEMI, "HEMI", ICON_LAMP_HEMI, "Hemi", "180 degree constant light source"},
+		{LA_AREA, "AREA", ICON_LAMP_AREA, "Area", "Directional area light source"},
 		{0, NULL, 0, NULL, NULL}};
 
 	/* identifiers */

Modified: trunk/blender/source/blender/editors/screen/area.c
===================================================================
--- trunk/blender/source/blender/editors/screen/area.c	2010-02-11 01:11:52 UTC (rev 26793)
+++ trunk/blender/source/blender/editors/screen/area.c	2010-02-11 02:03:18 UTC (rev 26794)
@@ -1173,8 +1173,8 @@
 	but= uiDefIconTextButC(block, ICONTEXTROW, 0, ICON_VIEW3D, 
 						   editortype_pup(), xco, yco, XIC+10, YIC, 
 						   &(sa->butspacetype), 1.0, SPACEICONMAX, 0, 0, 
-						   "Displays Current Editor Type. "
-						   "Click for menu of available types.");
+						   "Displays current editor type. "
+						   "Click for menu of available types");
 	uiButSetFunc(but, spacefunc, NULL, NULL);
 	
 	return xco + XIC + 14;

Modified: trunk/blender/source/blender/editors/screen/screen_ops.c
===================================================================
--- trunk/blender/source/blender/editors/screen/screen_ops.c	2010-02-11 01:11:52 UTC (rev 26793)
+++ trunk/blender/source/blender/editors/screen/screen_ops.c	2010-02-11 02:03:18 UTC (rev 26794)
@@ -3904,10 +3904,10 @@
 void SCENE_OT_new(wmOperatorType *ot)
 {
 	static EnumPropertyItem type_items[]= {
-		{SCE_COPY_EMPTY, "EMPTY", 0, "Empty", "Add empty scene."},
-		{SCE_COPY_LINK_OB, "LINK_OBJECTS", 0, "Link Objects", "Link to the objects from the current scene."},
-		{SCE_COPY_LINK_DATA, "LINK_OBJECT_DATA", 0, "Link Object Data", "Copy objects linked to data from the current scene."},
-		{SCE_COPY_FULL, "FULL_COPY", 0, "Full Copy", "Make a full copy of the current scene."},
+		{SCE_COPY_EMPTY, "EMPTY", 0, "Empty", "Add empty scene"},
+		{SCE_COPY_LINK_OB, "LINK_OBJECTS", 0, "Link Objects", "Link to the objects from the current scene"},
+		{SCE_COPY_LINK_DATA, "LINK_OBJECT_DATA", 0, "Link Object Data", "Copy objects linked to data from the current scene"},
+		{SCE_COPY_FULL, "FULL_COPY", 0, "Full Copy", "Make a full copy of the current scene"},
 		{0, NULL, 0, NULL, NULL}};
 	
 	/* identifiers */

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2010-02-11 01:11:52 UTC (rev 26793)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2010-02-11 02:03:18 UTC (rev 26794)
@@ -1996,8 +1996,8 @@
 void PAINT_OT_weight_from_bones(wmOperatorType *ot)
 {
 	static EnumPropertyItem type_items[]= {
-		{ARM_GROUPS_AUTO, "AUTOMATIC", 0, "Automatic", "Automatic weights froms bones."},
-		{ARM_GROUPS_ENVELOPE, "ENVELOPES", 0, "From Envelopes", "Weights from envelopes with user defined radius."},

@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list