taniwha / io_object_mu

Python .mu reader/writer and blender import/export addon
GNU General Public License v2.0
120 stars 51 forks source link

Error when importing mu models in 2.93 #54

Closed jkerman2000 closed 2 years ago

jkerman2000 commented 2 years ago

Python: Traceback (most recent call last): File "C:\Users\dario\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_object_mu-master\import_mu\operators.py", line 79, in execute return import_mu_op(self, context, **keywords) File "C:\Users\dario\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_object_mu-master\import_mu\operators.py", line 37, in import_mu_op ret = import_mu(collection, filepath, create_colliders, force_armature, force_mesh) File "C:\Users\dario\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_object_mu-master\import_mu\import_mu.py", line 203, in import_mu return process_mu(mu, os.path.dirname(filepath)), mu File "C:\Users\dario\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_object_mu-master\import_mu\import_mu.py", line 186, in process_mu create_materials(mu) File "C:\Users\dario\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_object_mu-master\import_mu\import_mu.py", line 165, in create_materials mumat.material = make_shader(mumat, mu) File "C:\Users\dario\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_object_mu-master\shader\shader.py", line 212, in make_shader return make_shader4(mumat, mu) File "C:\Users\dario\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_object_mu-master\shader\shader.py", line 204, in make_shader4 make_shader_prop(mumat.colorProperties, matprops.color.properties, ctx) File "C:\Users\dario\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_object_mu-master\shader\shader.py", line 162, in make_shader_prop item.annotations["value"][1]["update"](item, context) TypeError: '_PropertyDeferred' object is not subscriptable

location: :-1

Parzival-3141 commented 2 years ago

This should fix your issue #50

taniwha commented 2 years ago

This has been fixed.