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:
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/rig_ui_template.py
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/rig_ui_template.py')
-rw-r--r--rigify/rig_ui_template.py4
1 files changed, 2 insertions, 2 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