diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-08-01 10:03:08 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-08-01 10:03:08 +0400 |
commit | 78bbe5c479f80a331528d730486770c4f46e74fc (patch) | |
tree | e8df0deeb042a576d118d989aff457b54169e7a4 /release | |
parent | dc90e758b4c91a0c7e6406498301e82ccecf2fdb (diff) |
2.5 - Giving shapekeys UI a bit of attention
* Separated value and range sliders for the value into two separate rows. Value comes before the range settings since it's used more often, and is drawn as a slider instead.
* Tweaked ranges for the sliders so that they will work sanely.
Diffstat (limited to 'release')
-rw-r--r-- | release/ui/buttons_data_mesh.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/release/ui/buttons_data_mesh.py b/release/ui/buttons_data_mesh.py index 87c4a596b4d..882a4ad639e 100644 --- a/release/ui/buttons_data_mesh.py +++ b/release/ui/buttons_data_mesh.py @@ -125,7 +125,11 @@ class DATA_PT_shape_keys(DataButtonsPanel): if ob.active_shape_key_index != 0: if not ob.shape_key_lock: row = layout.row(align=True) - row.itemR(kb, "value", text="") + row.itemL(text="Value:") + row.itemR(kb, "value", text="", slider=True) + + row = layout.row(align=True); + row.itemL(text="Range:") row.itemR(kb, "slider_min", text="Min") row.itemR(kb, "slider_max", text="Max") |