Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4.0.0-pre : error console log when load blend file #147

Closed
listelin opened this issue Apr 17, 2024 · 2 comments
Closed

v4.0.0-pre : error console log when load blend file #147

listelin opened this issue Apr 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@listelin
Copy link

blender 4.1.1
MMD Tools v4.0.0 pre-release

when load blend file, the following error appears in the console log
I don't see any other problems, only logs.

Read blend: "E:\dev\myblend\mmd41import-test.blend"
Error in bpy.app.handlers.load_post[7]:
Traceback (most recent call last):
  File "C:\Users\a\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\mmd_tools\handlers.py", line 21, in load_hander
    MigrationFnMaterial.update_mmd_shader()
  File "C:\Users\a\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\mmd_tools\core\material.py", line 682, in update_mmd_shader
    if "Color" in mmd_shader_node_tree.outputs:
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ShaderNodeTree' object has no attribute 'outputs'
@UuuNyaa
Copy link
Owner

UuuNyaa commented Apr 23, 2024

Thank you for the report 😀
I have fixed it in mmd_tools v4.1.0
Could you please test it when you have time?

@UuuNyaa UuuNyaa added the bug Something isn't working label Apr 23, 2024
@listelin
Copy link
Author

I have confirmed that the error message is no longer output.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants