Blender2Babylon 6.40

While trying to export from blender 2.83, I get

Traceback (most recent call last):
File “C:\Users\jason\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\babylon_js_ init _.py”, line 60, in execute
if not verify_min_blender_version():
File “C:\Users\jason\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\babylon_js\package_level.py”, line 48, in verify_min_blender_version
minor = int(split2[0])
ValueError: invalid literal for int() with base 10: ‘83.0’

location: :-1

Thanks for reporting. I had heard that Blender went to a LTS base for 2.83. This means they have changed the version structure. The only thing this is used for in the exporter is to write the version of Blender into the file.

Will get to this probably by Tuesday.

Patched for Blender 2.83. Since all that changed was the way version was formatted, I just made the code work both ways for now:

  • 2.80 to 2.82, and
  • 2.83 & after.

When the next major release of Blender comes out, 2.90, might address this differently.

1 Like