You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
due to the removal of the auto smoothing feature in blender 4.1, in favor of a modifier that does the same thing (smooth by angle modifier), this addon no longer works on model importing.
To Reproduce
Steps to reproduce the behavior:
import a vmf or model in blender 4.1
see the errors
Expected behavior
i expected the models/vmf to import correctly, but they dont import at all.
Related files
it does this with any mdl or vmf containing models, so...
Logs
AttributeError: 'Mesh' object has no attribute 'use_auto_smooth'
[Plumber] [ERROR] Asset importing errored: AttributeError: 'Mesh' object has no attribute 'use_auto_smooth'
Traceback (most recent call last):
File "C:\Users\[REDACTED]\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\plumber\asset\__init__.py", line 61, in model
self.model_tracker.import_model(model, self.prop_collection)
File "C:\Users\[REDACTED]\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\plumber\asset\model.py", line 80, in import_model
mesh_obj = import_mesh(
^^^^^^^^^^^^
File "C:\Users\[REDACTED]\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\plumber\asset\model.py", line 176, in import_mesh
mesh_data.use_auto_smooth = True
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Mesh' object has no attribute 'use_auto_smooth'
[Plumber] [ERROR] Asset importing errored: AttributeError: 'Mesh' object has no attribute 'use_auto_smooth'
[Plumber] [INFO] vmf imported in 4.71 s
Info: Deleted 1 object(s)
Screenshots
Not applicable, theres nothing there because it doesnt import.
Details (please complete the following information):
OS: Windows 11
Blender Version: 4.1+
Addon Version: latest release, 1.0.1
Did you download a release or build the addon yourself: downloaded the release
Related Game: any game, tried using garry's mod with custom paths to all other source engine games content.
Additional context
im suprised nobody has reported this yet.
The text was updated successfully, but these errors were encountered:
Ah, so that's why it's doing that. I was getting the error myself but I was not sure on the cause of it. Thankfully you have discovered it though, hope to see this fixed eventually.
I fixed it by editing the script on my end. my fix maybe isnt up to the best coding practices since i have very little experience in python (just in other languages) but it works without any issues.
i dont know how pull requests work or even what they are really, so if anybody wants my patch before the addon is patched officially, here is my modified version of plumber/asset/model.py
Describe the bug
due to the removal of the auto smoothing feature in blender 4.1, in favor of a modifier that does the same thing (smooth by angle modifier), this addon no longer works on model importing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
i expected the models/vmf to import correctly, but they dont import at all.
Related files
it does this with any mdl or vmf containing models, so...
Logs
Screenshots
Not applicable, theres nothing there because it doesnt import.
Details (please complete the following information):
Additional context
im suprised nobody has reported this yet.
The text was updated successfully, but these errors were encountered: