mdl-exporter icon indicating copy to clipboard operation
mdl-exporter copied to clipboard

Issue with Blender 3.4.1

Open tdauth opened this issue 2 years ago • 1 comments

Blender Version 3.4.1

Describe the bug I want to export a Turnstile model and get this error:

Python: Traceback (most recent call last):
  File "C:\Users\xxx\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\export_mdl\operators\WAR3_OT_export_mdl.py", line 73, in execute
    export_mdl.save(self, context, settings, filepath=filepath, mdl_version=800)
  File "C:\Users\xxx\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\export_mdl\export_mdl.py", line 623, in save
    writer.write("Position {%s, %s, %s}" % tuple(map(f2s, camera.pivot)))
AttributeError: 'Object' object has no attribute 'pivot'

The model: https://sketchfab.com/3d-models/turnstile-from-tenet-83665724959149dd80c359b1f2bb710f

It would great to be able to export it.

tdauth avatar Jan 05 '23 05:01 tdauth

Thank you, i will check!

khalv avatar Jan 28 '23 20:01 khalv