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
path: root/rigify
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2019-03-26 19:19:08 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2019-03-26 19:19:19 +0300
commit731d775aba36108aa08dbcc24d41f25e2200ff85 (patch)
tree78d88ddda5b34b04360b12edd327a9e2b628da15 /rigify
parent0f2207e7fe467cdce1a0b4cc1a1ab0ccda0dfcef (diff)
Fix T62976: Rigify itself and its generated scripts fail to load.
Panel identifier naming restrictions are now enforced more strictly.
Diffstat (limited to 'rigify')
-rw-r--r--rigify/rig_ui_template.py4
-rw-r--r--rigify/rot_mode.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/rigify/rig_ui_template.py b/rigify/rig_ui_template.py
index 7265999b..87eef0d8 100644
--- a/rigify/rig_ui_template.py
+++ b/rigify/rig_ui_template.py
@@ -829,7 +829,7 @@ class RigUI(bpy.types.Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
bl_label = "Rig Main Properties"
- bl_idname = rig_id + "_PT_rig_ui"
+ bl_idname = "VIEW3D_PT_rig_ui_" + rig_id
bl_category = 'View'
@classmethod
@@ -873,7 +873,7 @@ class RigLayers(bpy.types.Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
bl_label = "Rig Layers"
- bl_idname = rig_id + "_PT_rig_layers"
+ bl_idname = "VIEW3D_PT_rig_layers_" + rig_id
bl_category = 'View'
@classmethod
diff --git a/rigify/rot_mode.py b/rigify/rot_mode.py
index 9abfecea..2b234335 100644
--- a/rigify/rot_mode.py
+++ b/rigify/rot_mode.py
@@ -221,7 +221,7 @@ class convert():
convert = convert()
-class ToolsPanel(bpy.types.Panel):
+class VIEW3D_PT_rigify_rot_mode(bpy.types.Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
bl_category = 'View'
@@ -309,7 +309,7 @@ class CONVERT_OT_quat2eu_all_actions(bpy.types.Operator):
### Registering ###
classes = (
- ToolsPanel,
+ VIEW3D_PT_rigify_rot_mode,
CONVERT_OT_quat2eu_current_action,
CONVERT_OT_quat2eu_all_actions,
)