forked from LeenkxTeam/LNXSDK
Merge pull request 'main' (#47) from Onek8/LNXSDK:main into main
Reviewed-on: LeenkxTeam/LNXSDK#47
This commit is contained in:
commit
f2dcfc0ffa
@ -310,9 +310,9 @@ class LeenkxAddonPreferences(AddonPreferences):
|
|||||||
layout.label(text="Welcome to Leenkx!")
|
layout.label(text="Welcome to Leenkx!")
|
||||||
|
|
||||||
# Compare version Blender and Leenkx (major, minor)
|
# Compare version Blender and Leenkx (major, minor)
|
||||||
if bpy.app.version[0] != 4 or bpy.app.version[1] != 2:
|
if bpy.app.version[:2] not in [(4, 4), (4, 2), (3, 6), (3, 3)]:
|
||||||
box = layout.box().column()
|
box = layout.box().column()
|
||||||
box.label(text="Warning: For Leenkx to work correctly, use a Blender LTS version such as 4.2 | 3.6 | 3.3")
|
box.label(text="Warning: For Leenkx to work correctly, use a Blender LTS version")
|
||||||
|
|
||||||
layout.prop(self, "sdk_path")
|
layout.prop(self, "sdk_path")
|
||||||
sdk_path = get_sdk_path(context)
|
sdk_path = get_sdk_path(context)
|
||||||
|
@ -828,8 +828,8 @@ def check_blender_version(op: bpy.types.Operator):
|
|||||||
"""Check whether the Blender version is supported by Leenkx,
|
"""Check whether the Blender version is supported by Leenkx,
|
||||||
if not, report in UI.
|
if not, report in UI.
|
||||||
"""
|
"""
|
||||||
if bpy.app.version[0] != 4 or bpy.app.version[1] != 2:
|
if bpy.app.version[:2] not in [(4, 4), (4, 2), (3, 6), (3, 3)]:
|
||||||
op.report({'INFO'}, 'INFO: For Leenkx to work correctly, use a Blender LTS version such as 4.2 | 3.6 | 3.3')
|
op.report({'INFO'}, 'INFO: For Leenkx to work correctly, use a Blender LTS version')
|
||||||
|
|
||||||
|
|
||||||
def check_saved(self):
|
def check_saved(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user