Update Blender version information to 2.93 LTS
This commit is contained in:
parent
bb5ff191b7
commit
22a557162f
|
@ -1024,7 +1024,7 @@ class ArmoryPlayButton(bpy.types.Operator):
|
|||
|
||||
# Compare version Blender and Armory (major, minor)
|
||||
if not arm.utils.compare_version_blender_arm():
|
||||
self.report({'INFO'}, 'For Armory to work correctly, you need Blender 2.83 LTS.')
|
||||
self.report({'INFO'}, 'For Armory to work correctly, you need Blender 2.93 LTS.')
|
||||
|
||||
if not arm.utils.check_saved(self):
|
||||
return {"CANCELLED"}
|
||||
|
@ -1063,7 +1063,7 @@ class ArmoryBuildProjectButton(bpy.types.Operator):
|
|||
def execute(self, context):
|
||||
# Compare version Blender and Armory (major, minor)
|
||||
if not arm.utils.compare_version_blender_arm():
|
||||
self.report({'INFO'}, 'For Armory to work correctly, you need Blender 2.83 LTS.')
|
||||
self.report({'INFO'}, 'For Armory to work correctly, you need Blender 2.93 LTS.')
|
||||
|
||||
if not arm.utils.check_saved(self):
|
||||
return {"CANCELLED"}
|
||||
|
@ -1103,7 +1103,7 @@ class ArmoryPublishProjectButton(bpy.types.Operator):
|
|||
def execute(self, context):
|
||||
# Compare version Blender and Armory (major, minor)
|
||||
if not arm.utils.compare_version_blender_arm():
|
||||
self.report({'INFO'}, 'For Armory to work correctly, you need Blender 2.83 LTS.')
|
||||
self.report({'INFO'}, 'For Armory to work correctly, you need Blender 2.93 LTS.')
|
||||
|
||||
if not arm.utils.check_saved(self):
|
||||
return {"CANCELLED"}
|
||||
|
|
|
@ -946,7 +946,7 @@ def get_link_web_server():
|
|||
return '' if not hasattr(addon_prefs, 'link_web_server') else addon_prefs.link_web_server
|
||||
|
||||
def compare_version_blender_arm():
|
||||
return not (bpy.app.version[0] != 2 or bpy.app.version[1] != 83)
|
||||
return not (bpy.app.version[0] != 2 or bpy.app.version[1] != 93)
|
||||
|
||||
def type_name_to_type(name: str) -> bpy.types.bpy_struct:
|
||||
"""Return the Blender type given by its name, if registered."""
|
||||
|
|
Loading…
Reference in a new issue