[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26883] trunk/blender: Using multiline descriptions like this:
Daniel Salazar
zanqdo at gmail.com
Sun Feb 14 08:05:51 CET 2010
Revision: 26883
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26883
Author: zanqdo
Date: 2010-02-14 08:05:50 +0100 (Sun, 14 Feb 2010)
Log Message:
-----------
Using multiline descriptions like this:
"""
Fixes the most common causes of gimbal lock in the fcurves of
the active bone.
"""
is causing bad glitches (boxy characters) on the tooltips..
Modified Paths:
--------------
trunk/blender/release/scripts/op/euler_filter.py
trunk/blender/source/blender/editors/space_buttons/buttons_context.c
trunk/blender/source/blender/editors/space_file/file_draw.c
trunk/blender/source/blender/makesrna/intern/rna_scene.c
Modified: trunk/blender/release/scripts/op/euler_filter.py
===================================================================
--- trunk/blender/release/scripts/op/euler_filter.py 2010-02-14 06:18:17 UTC (rev 26882)
+++ trunk/blender/release/scripts/op/euler_filter.py 2010-02-14 07:05:50 UTC (rev 26883)
@@ -44,10 +44,7 @@
cleanupEulCurve(f)
class DiscontFilterOp(bpy.types.Operator):
- """
- Fixes the most common causes of gimbal lock in the fcurves of
- the active bone.
- """
+ """Fixes the most common causes of gimbal lock in the fcurves of the active bone"""
bl_idname = "graph.discont_filter"
bl_label = "Filter out discontinuities in the active fcurves"
@@ -61,4 +58,4 @@
bpy.types.register(DiscontFilterOp)
if __name__ == "__main__":
- bpy.ops.graph.discont_filter()
\ No newline at end of file
+ bpy.ops.graph.discont_filter()
Modified: trunk/blender/source/blender/editors/space_buttons/buttons_context.c
===================================================================
--- trunk/blender/source/blender/editors/space_buttons/buttons_context.c 2010-02-14 06:18:17 UTC (rev 26882)
+++ trunk/blender/source/blender/editors/space_buttons/buttons_context.c 2010-02-14 07:05:50 UTC (rev 26883)
@@ -864,7 +864,7 @@
block= uiLayoutGetBlock(row);
uiBlockSetEmboss(block, UI_EMBOSSN);
- but= uiDefIconButBitC(block, ICONTOG, SB_PIN_CONTEXT, 0, ICON_UNPINNED, 0, 0, UI_UNIT_X, UI_UNIT_Y, &sbuts->flag, 0, 0, 0, 0, "Follow context or keep fixed datablock displayed.");
+ but= uiDefIconButBitC(block, ICONTOG, SB_PIN_CONTEXT, 0, ICON_UNPINNED, 0, 0, UI_UNIT_X, UI_UNIT_Y, &sbuts->flag, 0, 0, 0, 0, "Follow context or keep fixed datablock displayed");
uiButSetFunc(but, pin_cb, NULL, NULL);
for(a=0; a<path->len; a++) {
Modified: trunk/blender/source/blender/editors/space_file/file_draw.c
===================================================================
--- trunk/blender/source/blender/editors/space_file/file_draw.c 2010-02-14 06:18:17 UTC (rev 26882)
+++ trunk/blender/source/blender/editors/space_file/file_draw.c 2010-02-14 07:05:50 UTC (rev 26883)
@@ -207,13 +207,13 @@
but = uiDefIconButO(block, BUT, "FILE_OT_filenum", 0, ICON_ZOOMOUT,
min_x + line2_w + separator, line2_y,
btn_fn_w, btn_h,
- "Decrement the filename number.");
+ "Decrement the filename number");
RNA_int_set(uiButGetOperatorPtrRNA(but), "increment", -1);
but = uiDefIconButO(block, BUT, "FILE_OT_filenum", 0, ICON_ZOOMIN,
min_x + line2_w + separator + btn_fn_w, line2_y,
btn_fn_w, btn_h,
- "Increment the filename number.");
+ "Increment the filename number");
RNA_int_set(uiButGetOperatorPtrRNA(but), "increment", 1);
uiBlockEndAlign(block);
}
Modified: trunk/blender/source/blender/makesrna/intern/rna_scene.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_scene.c 2010-02-14 06:18:17 UTC (rev 26882)
+++ trunk/blender/source/blender/makesrna/intern/rna_scene.c 2010-02-14 07:05:50 UTC (rev 26883)
@@ -2432,7 +2432,7 @@
RNA_def_property_float_sdna(prop, NULL, "fg_stamp");
RNA_def_property_array(prop, 4);
RNA_def_property_range(prop,0.0,1.0);
- RNA_def_property_ui_text(prop, "Stamp Foreground", "Stamp text color");
+ RNA_def_property_ui_text(prop, "Stamp Text Color", "Color to use for stamp text");
RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL);
prop= RNA_def_property(srna, "stamp_background", PROP_FLOAT, PROP_COLOR);
More information about the Bf-blender-cvs
mailing list