lasa01 / Plumber

A Blender addon for importing Source 1 engine maps, models, materials and textures. This addon makes it possible to import full CS:GO, TF2, CS:S or other Source 1 game maps into Blender.
MIT License
399 stars 29 forks source link

All props failed importing #80

Closed Rainerr123 closed 3 years ago

Rainerr123 commented 3 years ago

Describe the bug vmf import props fails, ive reinstalled the plugins multiple times, fresh install of blender.

To Reproduce Steps to reproduce the behavior:

  1. Import a 'vmf'
  2. default settings

Expected behavior throws errors for all props.

Related files de_inferno_d.zip

Logs

Indexing game files...
Indexing done in 7.695622444152832 s
typing.get_type_hints failed with: SmdImporterWrapper
Traceback (most recent call last):
  File "C:\Users\Rainer\Desktop\blender\2.93\python\lib\typing.py", line 1417, in get_type_hints
    value = _eval_type(value, base_globals, localns)
  File "C:\Users\Rainer\Desktop\blender\2.93\python\lib\typing.py", line 285, in _eval_type
    ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.__args__)
  File "C:\Users\Rainer\Desktop\blender\2.93\python\lib\typing.py", line 285, in <genexpr>
    ev_args = tuple(_eval_type(a, globalns, localns, recursive_guard) for a in t.__args__)
  File "C:\Users\Rainer\Desktop\blender\2.93\python\lib\typing.py", line 283, in _eval_type
    return t._evaluate(globalns, localns, recursive_guard)
  File "C:\Users\Rainer\Desktop\blender\2.93\python\lib\typing.py", line 539, in _evaluate
    eval(self.__forward_code__, globalns, localns),
  File "<string>", line 1, in <module>
NameError: name 'import_vmt' is not defined
Started importing VMF 'C:\Users\Rainer\Downloads\de_inferno_d.vmf'

[ERROR]: MODEL models/props/de_vostok/ducttape01 LOADING FAILED: Converting py args to operator properties: : keyword "filepath" unrecognized
[3/12] Importing models... 4.9020 %

(for all props)

You can open the console with Window -> Toggle System Console on Windows.

Screenshots image image

Details (please complete the following information):

Additional context doesn't happen for just me

thanks in advance :) love your work, keep it up

lasa01 commented 3 years ago

Fixed in latest version.