[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17537] branches/etch-a-ton/source/blender /src/drawview.c: Fix bug with name templating text buttons (wrong event).

Martin Poirier theeth at yahoo.com
Sat Nov 22 23:22:38 CET 2008


Revision: 17537
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17537
Author:   theeth
Date:     2008-11-22 23:22:38 +0100 (Sat, 22 Nov 2008)

Log Message:
-----------
Fix bug with name templating text buttons (wrong event).

Modified Paths:
--------------
    branches/etch-a-ton/source/blender/src/drawview.c

Modified: branches/etch-a-ton/source/blender/src/drawview.c
===================================================================
--- branches/etch-a-ton/source/blender/src/drawview.c	2008-11-22 17:58:49 UTC (rev 17536)
+++ branches/etch-a-ton/source/blender/src/drawview.c	2008-11-22 22:22:38 UTC (rev 17537)
@@ -2364,8 +2364,8 @@
 		uiDefButF(block, NUM, B_DIFF, 							"D:",		143,yco, 67,19, &G.scene->toolsettings->skgen_retarget_distance_weight, 0, 10, 1, 0,		"Distance Weight");
 		yco -= 20;
 		
-		uiDefBut(block, TEX,0,"S:",							10,  yco, 90, 20, G.scene->toolsettings->skgen_side_string, 0.0, 8.0, 0, 0, "Text to replace &S with");
-		uiDefBut(block, TEX,0,"N:",							100, yco, 90, 20, G.scene->toolsettings->skgen_num_string, 0.0, 8.0, 0, 0, "Text to replace &N with");
+		uiDefBut(block, TEX,B_DIFF,"S:",							10,  yco, 90, 20, G.scene->toolsettings->skgen_side_string, 0.0, 8.0, 0, 0, "Text to replace &S with");
+		uiDefBut(block, TEX,B_DIFF,"N:",							100, yco, 90, 20, G.scene->toolsettings->skgen_num_string, 0.0, 8.0, 0, 0, "Text to replace &N with");
 		uiDefIconButBitC(block, TOG, SK_RETARGET_AUTONAME, B_DIFF, ICON_AUTO,190,yco,20,20, &G.scene->toolsettings->skgen_retarget_options, 0, 0, 0, 0, "Use Auto Naming");	
 		yco -= 20;
 





More information about the Bf-blender-cvs mailing list