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:
authorDalai Felinto <dfelinto@gmail.com>2018-10-22 16:39:01 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-10-22 16:42:18 +0300
commitbfb29776393325f2195177fe2edffdcd3668c143 (patch)
treede0e8e039eb7ebb039e8cc5a061289e444b65b3b /rigify/metarig_menu.py
parent1c75533d9cc0693733bacbadecfaac5c504313fb (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/metarig_menu.py')
-rw-r--r--rigify/metarig_menu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rigify/metarig_menu.py b/rigify/metarig_menu.py
index c1610553..102d366d 100644
--- a/rigify/metarig_menu.py
+++ b/rigify/metarig_menu.py
@@ -31,7 +31,7 @@ class ArmatureSubMenu(bpy.types.Menu):
def draw(self, context):
layout = self.layout
- layout.label(self.bl_label)
+ layout.label(text=self.bl_label)
for op, name in self.operators:
text = capwords(name.replace("_", " ")) + " (Meta-Rig)"
layout.operator(op, icon='OUTLINER_OB_ARMATURE', text=text)