More 4.3 + support #3

Merged
Onek8 merged 2 commits from Onek8/LNXSDK:main into main 2025-01-30 13:43:30 +00:00
Showing only changes of commit 8a7f5ee519 - Show all commits

View File

@ -761,8 +761,10 @@ class LNX_PT_LeenkxPlayerPanel(bpy.types.Panel):
else: else:
if bpy.app.version < (3, 0, 0): if bpy.app.version < (3, 0, 0):
row.operator("lnx.stop", icon="CANCEL", text="") row.operator("lnx.stop", icon="CANCEL", text="")
else: elif bpy.app.version > (3, 0, 0) and bpy.app.version < (4, 3, 2):
row.operator("lnx.stop", icon="SEQUENCE_COLOR_01", text="") row.operator("lnx.stop", icon="SEQUENCE_COLOR_01", text="")
else:
row.operator("lnx.stop", icon="EVENT_MEDIASTOP", text="")
row.operator("lnx.clean_menu", icon="BRUSH_DATA") row.operator("lnx.clean_menu", icon="BRUSH_DATA")
col = layout.box().column() col = layout.box().column()
@ -1438,8 +1440,10 @@ class LNX_PT_TopbarPanel(bpy.types.Panel):
else: else:
if bpy.app.version < (3, 0, 0): if bpy.app.version < (3, 0, 0):
row.operator("lnx.stop", icon="CANCEL", text="") row.operator("lnx.stop", icon="CANCEL", text="")
else: elif bpy.app.version > (3, 0, 0) and bpy.app.version < (4, 3, 2):
row.operator("lnx.stop", icon="SEQUENCE_COLOR_01", text="") row.operator("lnx.stop", icon="SEQUENCE_COLOR_01", text="")
else:
row.operator("lnx.stop", icon="EVENT_MEDIASTOP", text="")
row.operator("lnx.clean_menu", icon="BRUSH_DATA", text="") row.operator("lnx.clean_menu", icon="BRUSH_DATA", text="")
row.operator("lnx.open_editor", icon="DESKTOP", text="") row.operator("lnx.open_editor", icon="DESKTOP", text="")
row.operator("lnx.open_project_folder", icon="FILE_FOLDER", text="") row.operator("lnx.open_project_folder", icon="FILE_FOLDER", text="")