-
Notifications
You must be signed in to change notification settings - Fork 101
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
mmdtools cant work in the blender 4.0 #116
Comments
Blender 4.x breaks many compatibility. Here are some incompatibilities I have confirmed.
|
see UuuNyaa/blender_mmd_uuunyaa_tools#108 (comment) |
Python API Changes: https://wiki.blender.org/wiki/Reference/Release_Notes/4.0/Python_API |
Thanks for uuunyaa,the model import successfully,but there is still a lot of functions is not work,such as "convert to blender",there is lots of adaptive changes for blender V4 need to do. |
First of all, I would like to mention that this is a comment because I am reporting the results of a trial run on a version that is not yet supported, and I am using LTS when creating my work. Currently, the shape of the model is generally loaded, but the model is displayed as a pure white, probably because the paths such as textures cannot be referenced correctly (I tried running it experimentally with 4.0. ) If it helps, I can provide the error log when loading the basic model of mmd. |
Not sure if this is related, works fine with the following changes diff --git a/mmd_tools/core/material.py b/mmd_tools/core/material.py
index c98a4a5..ffbf741 100644
--- a/mmd_tools/core/material.py
+++ b/mmd_tools/core/material.py
@@ -728,7 +728,7 @@ class _FnMaterialCycles(_FnMaterialBI):
input_socket = shader.node_tree.interface.items_tree[name]
if hasattr(input_socket, 'min_value'):
val = min(max(val, input_socket.min_value), input_socket.max_value)
- input_socket.default_value = val
+ shader.inputs[name].default_value = val
def __update_shader_nodes(self):
mat = self.material |
how long mmd will be fix? |
According to MMD Tools support policy, only Blender LTS releases will be supported. |
mmd tool not work!? I Don't know how long with blender will be done online? |
MMD Tools works on Blender 3.6 LTS. |
Blender 4.2 will be released on July 16, 2024 as the next LTS. |
@UuuNyaa There are still people who file issues without reading the explanation if it doesn't work on 4.0, |
when I import the models,it say:
The text was updated successfully, but these errors were encountered: