Plumber icon indicating copy to clipboard operation
Plumber copied to clipboard

Doesnt work in blender 4.1

Open Fennecai opened this issue 1 month ago • 2 comments

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:

  1. import a vmf or model in blender 4.1
  2. 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.

Fennecai avatar May 08 '24 18:05 Fennecai