Make a class panel to easily draw each class

This commit is contained in:
2024-06-06 19:55:46 +02:00
parent cd8301e29c
commit 83d321c69d
6 changed files with 43 additions and 54 deletions
+2 -5
View File
@@ -1,12 +1,9 @@
import bpy
from .main import GraouPanel
class GRAOU_PT_thumbnail(bpy.types.Panel):
class GraouPanel_thumbnail(GraouPanel):
bl_idname = 'GRAOU_PT_thumbnail'
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
bl_label = 'Thumbnail'
bl_category = 'Graou Studio'
def draw(self, context):
layout = self.layout