diff options
author | Geoffrey Bantle <hairbat@yahoo.com> | 2008-08-20 23:18:52 +0400 |
---|---|---|
committer | Geoffrey Bantle <hairbat@yahoo.com> | 2008-08-20 23:18:52 +0400 |
commit | e7cf01d083ce16b78885eda74316519a4b6c16ea (patch) | |
tree | 3b6fe272f573c097b9da0e1066ed50b3e7def010 /release | |
parent | 6d7fa6020e08d1e7e9921e67a25534a54e373bd3 (diff) |
-> Fix for last commit
The range of allowed values for the LOD editor
inputs was too low.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/flt_lodedit.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/release/scripts/flt_lodedit.py b/release/scripts/flt_lodedit.py index 8860d6d5cb3..7cefb620942 100644 --- a/release/scripts/flt_lodedit.py +++ b/release/scripts/flt_lodedit.py @@ -440,17 +440,17 @@ def draw_propsheet(x,y): 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 @@ def draw_propsheet(x,y): 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 |