-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
After using the export to DDS, Blender freezes when closing. #10
Comments
Thanks for the report.
I noticed texconv required an option to disable the colorspace conversion. |
As a workaround, you can disable the unloading like this. # blender_dds_addon/__init__.py
def unregister():
"""Remove addon."""
for module in modules:
module.unregister()
# unload_texconv() It's not a good way to fix becuase you can't remove the addon while loading the DLL. |
Thank you!It works |
I fixed the issues. Can you test if it'll work as you expected or not? The crash when closing was fixed at matyalatte/Texconv-Custom-DLL@a9d196f. |
|
Sorry, I updated DirectXTex to the April 2023 release. and it had a bug. So, I updated the library to the September 2023 release. Can you try the updated version? It should work. |
It now works with BC7_UNORM_SRGB. Thank you for the quick fix! |
windows10
blender3.6
If I modify texconv.py to unload the DLL immediately after converting the file, Blender still freezes. Idk if the dll cause the problem?
Additionally, when exporting to BC7 sRGB, the color becomes lighter even if the original format is BC7 sRGB. Only if I choose BC7, it works.
The text was updated successfully, but these errors were encountered: