Adding Version and Last Updated markers to UI for better debuging

pull/117/head
Torrin Leonard 2022-05-25 19:58:33 -04:00
rodzic 78e8bd20e2
commit 75600e973d
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -8,6 +8,9 @@ bl_info = {
"category": "Development",
}
BMNFTS_VERSION = "v4.0.0 - Alpha"
LAST_UPDATED = "7:55PM, May 25, 2022"
# ======== Import handling ======== #
import bpy
@ -770,6 +773,8 @@ class BMNFTS_PT_CreateData(bpy.types.Panel):
row = layout.row()
self.layout.operator("create.data", icon='DISCLOSURE_TRI_RIGHT', text="Create Data")
row = layout.row()
layout.label(text=f"{BMNFTS_VERSION}")
class BMNFTS_PT_GenerateNFTs(bpy.types.Panel):
@ -949,6 +954,9 @@ class BMNFTS_PT_Other(bpy.types.Panel):
row.operator("wm.url_open", text="Join Our Discord Community!",
icon='URL').url = "https://discord.gg/UpZt5Un57t"
row = layout.row()
layout.label(text=f"{BMNFTS_VERSION}, {LAST_UPDATED}")
# ======== Blender add-on register/unregister handling ======== #
classes = (