[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20777] branches/sim_physics/source/ blender/src/buttons_shading.c: * raised some limits in point density

Matt Ebb matt at mke3.net
Wed Jun 10 09:45:13 CEST 2009


Revision: 20777
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20777
Author:   broken
Date:     2009-06-10 09:45:12 +0200 (Wed, 10 Jun 2009)

Log Message:
-----------
* raised some limits in point density

Modified Paths:
--------------
    branches/sim_physics/source/blender/src/buttons_shading.c

Modified: branches/sim_physics/source/blender/src/buttons_shading.c
===================================================================
--- branches/sim_physics/source/blender/src/buttons_shading.c	2009-06-10 06:02:08 UTC (rev 20776)
+++ branches/sim_physics/source/blender/src/buttons_shading.c	2009-06-10 07:45:12 UTC (rev 20777)
@@ -909,7 +909,7 @@
 		X2CLM1, yco-=BUTH, BUTW2, BUTH, 0, 0, 0, 0, 0, "");
 
 	uiDefButF(block, NUM, B_REDR, "Radius: ",
-		X2CLM1, yco-=BUTH, BUTW2, BUTH, &(pd->radius), 0.001, 100.0, 10, 2, "Radius to look for nearby particles within");
+		X2CLM1, yco-=BUTH, BUTW2, BUTH, &(pd->radius), 0.001, 10000.0, 10, 2, "Radius to look for nearby particles within");
 	
 	yco -= YSPACE;
 	
@@ -1021,11 +1021,11 @@
 	if (pd->flag & TEX_PD_TURBULENCE) {
 		
 		uiDefButF(block, NUM, B_REDR, "Size: ",
-			X2CLM1, yco-=BUTH, BUTW2, BUTH, &(pd->noise_size), 0.001, 100.0, 10, 2, "Turbulence size");
+			X2CLM1, yco-=BUTH, BUTW2, BUTH, &(pd->noise_size), 0.001, 10000.0, 10, 2, "Turbulence size");
 		uiDefButS(block, NUM, B_REDR, "Depth: ",
-			X2CLM1, yco-=BUTH, BUTW2, BUTH, &(pd->noise_depth), 0.0, 100.0, 10, 2, "Turbulence depth");
+			X2CLM1, yco-=BUTH, BUTW2, BUTH, &(pd->noise_depth), 0.0, 1024.0, 10, 2, "Turbulence depth");
 		uiDefButF(block, NUM, B_REDR, "Strength: ",
-			X2CLM1, yco-=BUTH, BUTW2, BUTH, &(pd->noise_fac), 0.001, 100.0, 10, 2, "");
+			X2CLM1, yco-=BUTH, BUTW2, BUTH, &(pd->noise_fac), 0.001, 10000.0, 10, 2, "");
 		
 		uiBlockEndAlign(block);
 		





More information about the Bf-blender-cvs mailing list