Blender-O3D-IO-Public icon indicating copy to clipboard operation
Blender-O3D-IO-Public copied to clipboard

Bug | Wont Import

Open Jharenoo opened this issue 7 months ago • 0 comments

Describe the bug

A clear and concise description of what the bug is. Plugin fails to import any model or map files and gives a error.

To Reproduce

Steps to reproduce the behaviour: [Be sure to attach any relevant files (o3d, cfg, dds, etc...) to the issue or provide a link to them here]

  1. Go to File
  2. Click on Import, OMSI Model Config
  3. Select OMSI Model
  4. See error

Expected behaviour

Plugin imports model

Screenshots

afbeelding

Additional context

Python: Traceback (most recent call last):
  File "C:\Users\Jhareno\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\Blender-O3D-IO-Public\__init__.py", line 133, in execute
    io_o3d_import.do_import(self.filepath, context, self.import_x, self.override_text_encoding, self.hide_lods)
  File "C:\Users\Jhareno\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\Blender-O3D-IO-Public\o3d_io\io_o3d_import.py", line 143, in do_import
    mesh.create_normals_split()
    ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Mesh' object has no attribute 'create_normals_split'

Jharenoo avatar Jul 03 '24 10:07 Jharenoo