[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16197] trunk/blender/release/scripts/ flt_lodedit.py: -> Fix for last commit

Geoffrey Bantle hairbat at yahoo.com
Wed Aug 20 21:18:53 CEST 2008


Revision: 16197
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16197
Author:   briggs
Date:     2008-08-20 21:18:52 +0200 (Wed, 20 Aug 2008)

Log Message:
-----------
-> Fix for last commit

 The range of allowed values for the LOD editor
 inputs was too low.

Modified Paths:
--------------
    trunk/blender/release/scripts/flt_lodedit.py

Modified: trunk/blender/release/scripts/flt_lodedit.py
===================================================================
--- trunk/blender/release/scripts/flt_lodedit.py	2008-08-20 19:10:33 UTC (rev 16196)
+++ trunk/blender/release/scripts/flt_lodedit.py	2008-08-20 19:18:52 UTC (rev 16197)
@@ -440,17 +440,17 @@
 	y = y- (row_height + pad)
 	LOD_XLABEL = Blender.Draw.Label("X Coordinate", x, y, label_width, row_height)
 	x = origx + (label_width + pad)
-	LOD_X = Blender.Draw.Number("", evcode["LOD_X"], x, y, input_width, row_height,get_prop(73,xco),  -100.0, 100.0, "")
+	LOD_X = Blender.Draw.Number("", evcode["LOD_X"], x, y, input_width, row_height,get_prop(73,xco),  -1000000.0, 1000000.0, "")
 	x = origx
 	y = y- (row_height + pad)
 	LOD_YLABEL = Blender.Draw.Label("Y Coordinate", x, y, label_width, row_height)	
 	x = origx + (label_width + pad)
-	LOD_Y = Blender.Draw.Number("", evcode["LOD_Y"], x, y, input_width, row_height,get_prop(73,yco), -100.0, 100.0, "")
+	LOD_Y = Blender.Draw.Number("", evcode["LOD_Y"], x, y, input_width, row_height,get_prop(73,yco), -1000000.0,  1000000.0, "")
 	x = origx
 	y = y- (row_height + pad)
 	LOD_ZLABEL = Blender.Draw.Label("Z Coordinate", x, y, label_width, row_height)
 	x = origx + (label_width + pad)		
-	LOD_Z = Blender.Draw.Number("", evcode["LOD_Z"], x, y, input_width, row_height,get_prop(73,zco), -100.0, 100.0, "")
+	LOD_Z = Blender.Draw.Number("", evcode["LOD_Z"], x, y, input_width, row_height,get_prop(73,zco), -1000000.0, 1000000.0, "")
 
 
 	#Switch inputs
@@ -460,22 +460,22 @@
 	y = y- (row_height + pad)
 	LOD_SIGLABEL = Blender.Draw.Label("Significant Size", x, y, label_width, row_height)
 	x = origx + (label_width + pad)
-	LOD_SIG = Blender.Draw.Number("", evcode["LOD_SIG"], x, y, input_width, row_height, get_prop(73,sig_size),  -100.0, 100.0, "")
+	LOD_SIG = Blender.Draw.Number("", evcode["LOD_SIG"], x, y, input_width, row_height, get_prop(73,sig_size),  -1000000.0, 1000000.0, "")
 	x = origx
 	y = y- (row_height + pad)
 	LOD_INLABEL = Blender.Draw.Label("Switch In", x, y, label_width, row_height)
 	x = origx + (label_width + pad)
-	LOD_IN = Blender.Draw.Number("", evcode["LOD_IN"], x, y, input_width, row_height, get_prop(73,switch_in), -100.0, 100.0, "")
+	LOD_IN = Blender.Draw.Number("", evcode["LOD_IN"], x, y, input_width, row_height, get_prop(73,switch_in), -1000000.0, 1000000.0, "")
 	x = origx
 	y = y- (row_height + pad)
 	LOD_OUTLABEL = Blender.Draw.Label("Switch Out", x, y, label_width, row_height)	
 	x = origx + (label_width + pad)
-	LOD_OUT = Blender.Draw.Number("", evcode["LOD_OUT"], x, y, input_width, row_height, get_prop(73,switch_out), -100.0, 100.0, "")
+	LOD_OUT = Blender.Draw.Number("", evcode["LOD_OUT"], x, y, input_width, row_height, get_prop(73,switch_out), -1000000.0, 1000000.0, "")
 	x = origx
 	y = y- (row_height + pad)
 	LOD_TRANSLABEL = Blender.Draw.Label("Transition", x, y, label_width, row_height)		
 	x = origx + (label_width + pad)
-	LOD_TRANS = Blender.Draw.Number("", evcode["LOD_TRANS"], x, y, input_width, row_height, get_prop(73,trans), -100.0, 100.0, "")	
+	LOD_TRANS = Blender.Draw.Number("", evcode["LOD_TRANS"], x, y, input_width, row_height, get_prop(73,trans), -1000000.0, 1000000.0, "")	
 
 
 	x = origx





More information about the Bf-blender-cvs mailing list