Blender version warning

I suggest adding a warning to Preferences:
pref_warn

The code to check is as follows (armory.py):

    # Compare version Blender and Armory
    version_major = bpy.app.version[0]
    version_minor = bpy.app.version[1]
    if version_major != 2 or version_minor != 83:
        box = layout.box().column()
        box.label(text="Warning: For Armory to work correctly, you need Blender 2.83 LTS.")

I’m waiting for suggestions on the text of the message.
Maybe where else should you add this message (for example, to the Armory Player panel, Exporter…)?

4 Likes

:+1: I like your solution.

Probably a self.report({'INFO'}, '...') that shows when you hit Play and Build/Publish too would make it harder to miss for newcomers :sweat_smile:

3 Likes

This value needs to be edited to 2.83: https://github.com/armory3d/armsdk/blob/9553d405e5eeff01166ab999f3cb600e72993160/armory.py#L10?

This is the minimum required version and there are good chances that Armory will work on 2.81 just like it does on 2.83. But it could be helpful to change it so that users below 2.83 get a warning message.

3 Likes

report

report2

3 Likes