Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2020-06-27 21:39:39 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2020-06-27 21:39:47 +0300
commitdb23ff3d34415a3aae1c8bd775de2db8af22d5c7 (patch)
treee5eecd7165efd90355fe74de194291b2b3372d74 /rigify/feature_set_list.py
parent8618d72ca50a6742154187d9648c9f1dd86ddc4d (diff)
Rigify: use user-friendly feature set names in the filter dropdown.
Diffstat (limited to 'rigify/feature_set_list.py')
-rw-r--r--rigify/feature_set_list.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/rigify/feature_set_list.py b/rigify/feature_set_list.py
index 5a2d928b..43639fc1 100644
--- a/rigify/feature_set_list.py
+++ b/rigify/feature_set_list.py
@@ -122,10 +122,14 @@ def get_ui_name(feature_set):
def feature_set_items(scene, context):
"""Get items for the Feature Set EnumProperty"""
- items = [('all',)*3, ('rigify',)*3, ]
+ items = [
+ ('all', 'All', 'All installed feature sets and rigs bundled with Rigify'),
+ ('rigify', 'Rigify Built-in', 'Rigs bundled with Rigify'),
+ ]
for fs in get_installed_list():
- items.append((fs,)*3)
+ ui_name = get_ui_name(fs)
+ items.append((fs, ui_name, ui_name))
return items