diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-10-22 16:39:01 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-10-22 16:42:18 +0300 |
commit | bfb29776393325f2195177fe2edffdcd3668c143 (patch) | |
tree | de0e8e039eb7ebb039e8cc5a061289e444b65b3b /rigify/__init__.py | |
parent | 1c75533d9cc0693733bacbadecfaac5c504313fb (diff) |
Rigify: Update for 2.8 API
The UI is still using the toolshelf. So I did not bump the version to 2.80.
It seems to be working as far as the UI and the quat/euler operators is concerned.
Diffstat (limited to 'rigify/__init__.py')
-rw-r--r-- | rigify/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rigify/__init__.py b/rigify/__init__.py index f0a332f8..f4504c79 100644 --- a/rigify/__init__.py +++ b/rigify/__init__.py @@ -150,18 +150,18 @@ class RigifyPreferences(AddonPreferences): op = sub.operator('wm.context_toggle', text='', icon=icon, emboss=False) op.data_path = 'addon_prefs.show_expanded' - sub.label('{}: {}'.format('Rigify', 'Enable Legacy Mode')) + sub.label(text='{}: {}'.format('Rigify', 'Enable Legacy Mode')) sub = row.row() sub.alignment = 'RIGHT' sub.prop(self, 'legacy_mode') if expand: - split = col.row().split(percentage=0.15) - split.label('Description:') + split = col.row().split(factor=0.15) + split.label(text='Description:') split.label(text='When enabled the add-on will run in legacy mode using the old 2.76b feature set.') row = layout.row() - row.label("End of Rigify Preferences") + row.label(text="End of Rigify Preferences") class RigifyName(bpy.types.PropertyGroup): |