Robert-N7 / abmatt

ANoob's Brres Material Tool for Mario Kart Wii
GNU General Public License v3.0
14 stars 3 forks source link

AttributeError: 'str' object has no attribute 'Material' #66

Closed Heath123 closed 3 years ago

Heath123 commented 3 years ago
Traceback (most recent call last):
  File "/home/heath/Downloads/abmatt/abmatt/__main__.py", line 29, in <module>
    main()
  File "/home/heath/Downloads/abmatt/abmatt/__main__.py", line 22, in main
    files = load_config.parse_args(argv, base_path)
  File "/home/heath/Downloads/abmatt/abmatt/load_config.py", line 358, in parse_args
    if not Command.run_commands(cmds):
  File "/home/heath/Downloads/abmatt/abmatt/command.py", line 705, in run_commands
    cmd.run_cmd()
  File "/home/heath/Downloads/abmatt/abmatt/command.py", line 769, in run_cmd
    return self.run_convert()
  File "/home/heath/Downloads/abmatt/abmatt/command.py", line 837, in run_convert
    mdl = converter.load_model(model)
  File "/home/heath/Downloads/abmatt/abmatt/converters/convert_dae.py", line 43, in load_model
    self._before_encoding()
  File "/home/heath/Downloads/abmatt/abmatt/converters/convert_lib.py", line 123, in _before_encoding
    self.encode_materials()
  File "/home/heath/Downloads/abmatt/abmatt/converters/convert_dae.py", line 57, in encode_materials
    self._encode_material(material.Material(material))
AttributeError: 'str' object has no attribute 'Material'

model.zip