Skip to content

Commit 211372b

Browse files
committed
2_5_1
Update panel class name to new naming convention in 2.80
1 parent ea2bff9 commit 211372b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"name": "PBR",
2121
"description": "PBR Workflow Tools",
2222
"author": "Digiography.Studio",
23-
"version": (2, 5, 0),
23+
"version": (2, 5, 1),
2424
"blender": (2, 80, 0),
2525
"location": "Properties > Material > PBR Material",
2626
"wiki_url": "https://github.com/Digiography/blender_addon_pbr/wiki",

ds_pbr.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,9 @@ def execute(self, context):
602602

603603
# Material Panel
604604

605-
class ds_pbr_material(bpy.types.Panel):
606-
607-
bl_idname = "ds_pbr.material"
605+
class PANEL_PT_ds_pbr_material(bpy.types.Panel):
606+
607+
bl_idname = "PANEL_PT_ds_pbr_material"
608608
bl_space_type = 'PROPERTIES'
609609
bl_region_type = 'WINDOW'
610610
bl_label = "PBR Material"
@@ -820,7 +820,7 @@ def draw(self, context):
820820
ds_pbr_auto_textures,
821821
ds_pbr_nodes_auto,
822822
ds_pbr_nodes,
823-
ds_pbr_material,
823+
PANEL_PT_ds_pbr_material,
824824
)
825825

826826
def register():

0 commit comments

Comments
 (0)