UV smart_project error in Blender 2.91See original GitHub issue
Blender 2.91 seems to have a few changes in the API.
There’s a minor error in the smart_project function.
The smart_project in Blender 2.83 has the parameter named as
The parameter has been switched to
area_weight in smart_project in Blender 2.91
I think the renaming is causing this issue. Reporting it here so that it can be looked into while porting the exporter for Blender 2.9x
- Created 3 years ago
Top GitHub Comments
My experience with the very long 2.80 dev cycle was API would change over and over. Now with Blender in a 4 release LTS cycle (0, 1, 2, 3) or (2.90, 2.91, 2.92, 2.93) I do not have the time to keep up.
I run 2.83 LTS. When 2.92 hits, March 2021, I will probably see what is what. Even then, I will not do it on the master branch,
On Sun, Dec 6, 2020 at 8:41 AM Arvind R firstname.lastname@example.org wrote:
Surprisingly, the error has changed! It’s showing this now:
Python: Traceback (most recent call last):
File “/home/arvind/.config/blender/2.91/scripts/addons/babylon_js/init.py”, line 65, in execute
File “/home/arvind/.config/blender/2.91/scripts/addons/babylon_js/json_exporter.py”, line 115, in execute
mesh = Mesh(object, scene, self)
File “/home/arvind/.config/blender/2.91/scripts/addons/babylon_js/mesh.py”, line 146, in init
recipe = BakingRecipe(bpyMesh, exporter)
File “/home/arvind/.config/blender/2.91/scripts/addons/babylon_js/materials/baking_recipe.py”, line 105, in init
File “/home/arvind/.config/blender/2.91/scripts/addons/babylon_js/materials/material.py”, line 136, in bake
uv.active = True
AttributeError: ‘NoneType’ object has no attribute ‘active’
location: <unknown location>:-1
I’m stuck fixing errors recursively 😭 I guess I’ll downgrade to 2.8x for now.
On a side note, thanks for this amazing addon. Any plans to port it to Blender 2.9x? I’ll be happy to help if needed.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BabylonJS/BlenderExporter/issues/34#issuecomment-739504314, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4MUY4C7ALDIRQQLFF3VNDSTOCYFANCNFSM4UPJ4NDA .
complete in 2.93 exporter