Skip to content
Snippets Groups Projects
Commit 731d775a authored by Alexander Gavrilov's avatar Alexander Gavrilov
Browse files

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

Panel identifier naming restrictions are now enforced more strictly.
parent 0f2207e7
Branches
Tags
No related merge requests found
......@@ -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
......
......@@ -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,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment