[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53228] trunk/blender/source/blender/ editors/animation/fmodifier_ui.c: Bugfix [#33623] UI for Factored Polynomial Generator FModifiers drawing
Joshua Leung
aligorith at gmail.com
Fri Dec 21 06:03:57 CET 2012
Revision: 53228
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53228
Author: aligorith
Date: 2012-12-21 05:03:47 +0000 (Fri, 21 Dec 2012)
Log Message:
-----------
Bugfix [#33623] UI for Factored Polynomial Generator FModifiers drawing
incorrectly
* Plus signs were used between factors instead of multiplication. These now use
the times symbol
* Fixed alignment problem for last factor being more spread out
Modified Paths:
--------------
trunk/blender/source/blender/editors/animation/fmodifier_ui.c
Modified: trunk/blender/source/blender/editors/animation/fmodifier_ui.c
===================================================================
--- trunk/blender/source/blender/editors/animation/fmodifier_ui.c 2012-12-21 03:49:47 UTC (rev 53227)
+++ trunk/blender/source/blender/editors/animation/fmodifier_ui.c 2012-12-21 05:03:47 UTC (rev 53228)
@@ -231,16 +231,16 @@
uiDefButF(block, NUM, B_FMODIFIER_REDRAW, "", 0, 0, 100, 20, cp + 1, -UI_FLT_MAX, UI_FLT_MAX,
10, 3, TIP_("Second coefficient"));
- /* closing bracket and '+' sign */
+ /* closing bracket and multiplication sign */
if ( (i != (data->poly_order - 1)) || ((i == 0) && data->poly_order == 2) ) {
- uiDefBut(block, LABEL, 1, ") +", 0, 0, 30, 20, NULL, 0.0, 0.0, 0, 0, "");
+ uiDefBut(block, LABEL, 1, ") \xD7", 0, 0, 30, 20, NULL, 0.0, 0.0, 0, 0, "");
/* set up new row for the next pair of coefficients */
row = uiLayoutRow(layout, TRUE);
block = uiLayoutGetBlock(row);
}
else
- uiDefBut(block, LABEL, 1, ")", 0, 0, 20, 20, NULL, 0.0, 0.0, 0, 0, "");
+ uiDefBut(block, LABEL, 1, ") ", 0, 0, 30, 20, NULL, 0.0, 0.0, 0, 0, "");
}
}
break;
More information about the Bf-blender-cvs
mailing list