Update leenkx.py

This commit is contained in:
Onek8 2025-01-23 17:05:07 +00:00
parent 20e33afeac
commit 3bb2d65faa

View File

@ -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] != 3 or bpy.app.version[1] != 6: if bpy.app.version[0] != 4 or bpy.app.version[1] != 2:
box = layout.box().column() box = layout.box().column()
box.label(text="Warning: For Leenkx to work correctly, you need Blender 3.6 LTS.") box.label(text="Warning: For Leenkx to work correctly, use a Blender LTS version such as 4.2 | 3.6 | 3.3")
layout.prop(self, "sdk_path") layout.prop(self, "sdk_path")
sdk_path = get_sdk_path(context) sdk_path = get_sdk_path(context)