hlorus / CAD_Sketcher

Constraint-based geometry sketcher for blender
GNU General Public License v3.0
2.59k stars 122 forks source link

Check user's Blender version against minimum required Blender version. #457

Closed colossatr0n closed 3 months ago

colossatr0n commented 3 months ago

I had attempted to resolve some errors I was getting when activating the add-on and after some time realized that my Blender version was too low.

Added a version check that throws an exception if the user's Blender version is too low. This check happens as soon as possible in the code execution to prevent users from attempting to solve downstream issues.

hlorus commented 3 months ago

Thanks for the PR, merged with a change to take the minimal version from blender_manifest.toml which will be used with blender 4.2 and beyond.