diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-02-14 06:43:28 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-02-14 06:43:28 +0300 |
commit | 54190dd8e5562cf5f964e6bb60be170c9063c616 (patch) | |
tree | d00fe6f6eb64830399468ee460d8718e7b4605a3 /release/scripts/ui/space_userpref.py | |
parent | 0c2099086b77d5438894d52847fa0c2a68bd0c81 (diff) |
Bone Colour Sets (theme ones) can now be edited from the User
Preferences UI again
Diffstat (limited to 'release/scripts/ui/space_userpref.py')
-rw-r--r-- | release/scripts/ui/space_userpref.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/release/scripts/ui/space_userpref.py b/release/scripts/ui/space_userpref.py index 79bdff8ad93..33d56de1cee 100644 --- a/release/scripts/ui/space_userpref.py +++ b/release/scripts/ui/space_userpref.py @@ -635,7 +635,29 @@ class USERPREF_PT_theme(bpy.types.Panel): layout.separator() layout.separator() + elif theme.theme_area == 'COLOR_SETS': + col = split.column() + for i,ui in enumerate(theme.bone_color_sets): + col.label(text="Color Set %d:" % (i+1)) # i starts from 0 + + row = col.row() + + subsplit = row.split(percentage=0.95) + + padding = subsplit.split(percentage=0.15) + colsub = padding.column() + colsub = padding.column() + colsub.row().prop(ui, "normal") + colsub.row().prop(ui, "select") + colsub.row().prop(ui, "active") + + subsplit = row.split(percentage=0.85) + + padding = subsplit.split(percentage=0.15) + colsub = padding.column() + colsub = padding.column() + colsub.row().prop(ui, "show_colored_constraints") else: self._theme_generic(split, getattr(theme, theme.theme_area.lower())) |