Fix T62976: Rigify itself and its generated scripts fail to load.

Panel identifier naming restrictions are now enforced more strictly.
This commit is contained in:
Alexander Gavrilov 2019-03-26 19:19:08 +03:00
parent 0f2207e7fe
commit 731d775aba
Notes: blender-bot 2023-02-14 19:17:43 +01:00
Referenced by issue #62976, Rigify fails to load
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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,
)