diff options
author | Matt Ebb <matt@mke3.net> | 2009-05-21 11:40:43 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-05-21 11:40:43 +0400 |
commit | b495e544a82527092bd6c589c0d26b99dd673540 (patch) | |
tree | 73e7be8e039ecb90777aa262bc6bcd1aa22937fa /release/ui/buttons_data_lamp.py | |
parent | 176a49d1abdac7aa20ef117eec28c55879e942e8 (diff) |
* removed some arbitrary range limits on property values
* turned some slider UI controls back into number fields
Note: Sliders should only be used when representing a property that's
conceptually a percentage or ratio. For arbitrary numbers, use a number field.
For example, a lamp's energy can theoretically be anything - 0.1, 3.5, 125.0, it
doesn't matter - it's just a number, not a percentage. So this should be a
number field.
Diffstat (limited to 'release/ui/buttons_data_lamp.py')
-rw-r--r-- | release/ui/buttons_data_lamp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/ui/buttons_data_lamp.py b/release/ui/buttons_data_lamp.py index 2d0efdb83ac..2005481d38b 100644 --- a/release/ui/buttons_data_lamp.py +++ b/release/ui/buttons_data_lamp.py @@ -28,7 +28,7 @@ class DATA_PT_lamp(DataButtonsPanel): sub = split.column() sub.itemR(lamp, "color") - sub.itemR(lamp, "energy", slider=True) + sub.itemR(lamp, "energy") sub.itemR(lamp, "distance") sub.itemR(lamp, "negative") |