Skip to content

Problems of Exporting Cars to DFF #270

@ghost

Description

When I export a DFF I got an error:
image
image

  File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\gui\dff_ot.py", line 134, in execute
    dff_exporter.export_dff(
  File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\dff_exporter.py", line 995, in export_dff
    dff_exporter.export_dff(options['file_name'])
  File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\dff_exporter.py", line 982, in export_dff
    self.export_objects(objects)
  File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\dff_exporter.py", line 922, in export_objects
    mem = export_col({
  File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\col_exporter.py", line 240, in export_col
    return col_exporter.export_col(options['file_name'])
  File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\col_exporter.py", line 192, in export_col
    self._process_obj(obj)
  File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\col_exporter.py", line 162, in _process_obj
    self._process_mesh(obj,
  File "C:\Users\jonat\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\DragonFF-master\ops\col_exporter.py", line 55, in _process_mesh
    surface[0] = mat.dff.col_mat_index
AttributeError: 'NoneType' object has no attribute 'dff'

image
Apparently all options are OK, so I don't know what it could be

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions