From 2600e2f26320dbcc142f0eafa7e0e82a3074161c Mon Sep 17 00:00:00 2001
From: Dalai Felinto <dfelinto@gmail.com>
Date: Fri, 26 Oct 2018 14:07:26 -0300
Subject: [PATCH] Rigify UI: Move operators to sidebar

Since some recent change in 2.8 the UI for rigify is no longer working.

Note: if your object has ANY custom property, the custom property shows as
a Misc. category, it is not particular to rigify, so I will not bother with
this here.
---
 rigify/legacy/ui.py | 4 ++--
 rigify/rot_mode.py  | 4 ++--
 rigify/ui.py        | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/rigify/legacy/ui.py b/rigify/legacy/ui.py
index 2671108b7..f04ec335d 100644
--- a/rigify/legacy/ui.py
+++ b/rigify/legacy/ui.py
@@ -200,9 +200,9 @@ class BONE_PT_rigify_buttons(bpy.types.Panel):
 
 class VIEW3D_PT_tools_rigify_dev(bpy.types.Panel):
     bl_label = "Rigify Dev Tools"
-    bl_category = 'Tools'
     bl_space_type = 'VIEW_3D'
-    bl_region_type = 'TOOLS'
+    bl_region_type = 'UI'
+    bl_category = 'View'
 
     @classmethod
     def poll(cls, context):
diff --git a/rigify/rot_mode.py b/rigify/rot_mode.py
index 8129040bd..9abfecea3 100644
--- a/rigify/rot_mode.py
+++ b/rigify/rot_mode.py
@@ -223,8 +223,8 @@ convert = convert()
 
 class ToolsPanel(bpy.types.Panel):
     bl_space_type = 'VIEW_3D'
-    bl_region_type = 'TOOLS'
-    bl_category = "Tools"
+    bl_region_type = 'UI'
+    bl_category = 'View'
     bl_context = "posemode"
     bl_label = 'Rigify Quat/Euler Converter'
 
diff --git a/rigify/ui.py b/rigify/ui.py
index 2effb58fc..77398ff03 100644
--- a/rigify/ui.py
+++ b/rigify/ui.py
@@ -633,9 +633,9 @@ class BONE_PT_rigify_buttons(bpy.types.Panel):
 
 class VIEW3D_PT_tools_rigify_dev(bpy.types.Panel):
     bl_label = "Rigify Dev Tools"
-    bl_category = 'Tools'
     bl_space_type = 'VIEW_3D'
-    bl_region_type = 'TOOLS'
+    bl_region_type = 'UI'
+    bl_category = 'View'
 
     @classmethod
     def poll(cls, context):
@@ -657,10 +657,10 @@ class VIEW3D_PT_tools_rigify_dev(bpy.types.Panel):
 
 class VIEW3D_PT_rigify_animation_tools(bpy.types.Panel):
     bl_label = "Rigify Animation Tools"
-    bl_category = 'Tools'
     bl_context = "posemode"
     bl_space_type = 'VIEW_3D'
-    bl_region_type = 'TOOLS'
+    bl_region_type = 'UI'
+    bl_category = 'View'
 
     @classmethod
     def poll(cls, context):
-- 
GitLab