bugfix [#26094] Going to Bone Roll menu brings up python error
also correct for pep8 warnings.
This commit is contained in:
@@ -638,11 +638,11 @@ class USERPREF_PT_theme(bpy.types.Panel):
|
||||
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
|
||||
|
||||
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)
|
||||
@@ -651,7 +651,7 @@ class USERPREF_PT_theme(bpy.types.Panel):
|
||||
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)
|
||||
|
Reference in New Issue
Block a user