[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14958] trunk/blender/source/blender/src/ buttons_shading.c: [#11119] Tool tips correction

Martin Poirier theeth at yahoo.com
Sun May 25 16:32:59 CEST 2008


Revision: 14958
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14958
Author:   theeth
Date:     2008-05-25 16:32:59 +0200 (Sun, 25 May 2008)

Log Message:
-----------
[#11119] Tool tips correction

Patch by Olivier Saraja

Modified Paths:
--------------
    trunk/blender/source/blender/src/buttons_shading.c

Modified: trunk/blender/source/blender/src/buttons_shading.c
===================================================================
--- trunk/blender/source/blender/src/buttons_shading.c	2008-05-25 14:32:26 UTC (rev 14957)
+++ trunk/blender/source/blender/src/buttons_shading.c	2008-05-25 14:32:59 UTC (rev 14958)
@@ -2887,8 +2887,8 @@
 	
 	uiBlockBeginAlign(block);
 	if (ELEM(la->type, LA_LOCAL, LA_SPOT) && (la->falloff_type == LA_FALLOFF_SLIDERS)) {
-		uiDefButF(block, NUMSLI,B_LAMPPRV,"Linear ",	120,30,180,19,&la->att1, 0.0, 1.0, 0, 0, "Set the linear distance attenuatation for a quad lamp");
-		uiDefButF(block, NUMSLI,B_LAMPPRV,"Quad ",  120,10,180,19,&la->att2, 0.0, 1.0, 0, 0, "Set the quadratic distance attenuatation for a quad lamp");
+		uiDefButF(block, NUMSLI,B_LAMPPRV,"Linear ",	120,30,180,19,&la->att1, 0.0, 1.0, 0, 0, "Set the linear distance attenuation for a Lin/Quad Weighted lamp");
+		uiDefButF(block, NUMSLI,B_LAMPPRV,"Quad ",  120,10,180,19,&la->att2, 0.0, 1.0, 0, 0, "Set the quadratic distance attenuation for a Lin/Quad Weighted lamp");
 	}
 	else if(la->type==LA_AREA) {
 		if(la->k==0.0) la->k= 1.0;





More information about the Bf-blender-cvs mailing list