diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-09-17 18:35:08 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-09-17 18:35:08 +0400 |
commit | 7783c286b9ac3622972ba979f80789aee8fabaed (patch) | |
tree | eb06804f4ad048390172b1eccb1aeee468ebaae7 /release | |
parent | a911fd88af5ffb2a377ade4e14b918f138ecaee2 (diff) |
UI: fix display of shape key list to show with no items,
list template should also accept None.
Diffstat (limited to 'release')
-rw-r--r-- | release/ui/buttons_data_mesh.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/release/ui/buttons_data_mesh.py b/release/ui/buttons_data_mesh.py index 8796d7a46a8..33b3960b381 100644 --- a/release/ui/buttons_data_mesh.py +++ b/release/ui/buttons_data_mesh.py @@ -102,8 +102,7 @@ class DATA_PT_shape_keys(DataButtonsPanel): kb = ob.active_shape_key row = layout.row() - if key: # XXX - looks crappy - row.template_list(key, "keys", ob, "active_shape_key_index", rows=2) + row.template_list(key, "keys", ob, "active_shape_key_index", rows=2) col = row.column() |