work
update amznchartools
This commit is contained in:
@@ -5,7 +5,7 @@ from bpy.types import Panel
|
||||
from .operators import OP_SPECS
|
||||
|
||||
|
||||
PANEL_KEYS = ("scene", "general", "core", "devices", "geo", "helmet")
|
||||
PANEL_KEYS = ("scene", "general", "core", "devices", "geo", "helmet", "vest")
|
||||
PANEL_BUTTONS = {key: [spec for spec in OP_SPECS if spec["panel"] == key] for key in PANEL_KEYS}
|
||||
|
||||
|
||||
@@ -87,5 +87,13 @@ class AMZN_PT_Helmet(_AMZN_BasePanel):
|
||||
panel_key = "helmet"
|
||||
|
||||
|
||||
PANEL_CLASSES = (AMZN_PT_Main, AMZN_PT_Scene, AMZN_PT_General, AMZN_PT_Devices, AMZN_PT_Geo, AMZN_PT_Helmet)
|
||||
class AMZN_PT_Vest(_AMZN_BasePanel):
|
||||
"""Vest panel."""
|
||||
bl_idname = "AMZN_PT_VEST"
|
||||
bl_label = "Vest"
|
||||
bl_parent_id = "AMZN_PT_MAIN"
|
||||
panel_key = "vest"
|
||||
|
||||
|
||||
PANEL_CLASSES = (AMZN_PT_Main, AMZN_PT_Scene, AMZN_PT_General, AMZN_PT_Devices, AMZN_PT_Geo, AMZN_PT_Helmet, AMZN_PT_Vest)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user