Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

source 1 maps import with [almost] all textures missing #259

Closed
staticanimal opened this issue Feb 6, 2024 · 3 comments
Closed

source 1 maps import with [almost] all textures missing #259

staticanimal opened this issue Feb 6, 2024 · 3 comments

Comments

@staticanimal
Copy link

sourceio version: 4.1.0
blender version: 4.0.2

maps tested from sfm, gmod and hl2 ep2

the error that gets printed to the log:

Python: Traceback (most recent call last):
  File "C:\Users\staticanimal\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\operators\source1_operators.py", line 141, in execute
    bsp_map.load_materials(self.use_bvlg)
  File "C:\Users\staticanimal\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\source1\bsp\import_bsp.py", line 185, in load_materials
    mat.create_material()
  File "C:\Users\staticanimal\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\material_loader\material_loader.py", line 44, in create_material
    handler.create_nodes(self.material_name)
  File "C:\Users\staticanimal\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\material_loader\shaders\source1_shaders\lightmap_generic.py", line 91, in create_nodes
    shader.inputs['Specular'].default_value = 0
KeyError: 'bpy_prop_collection[key]: key "Specular" not found'
@REDxEYE
Copy link
Owner

REDxEYE commented Feb 7, 2024

SoutceIO currently does not support blender 4.0

@staticanimal
Copy link
Author

oh, that's unfortunate. hope it gets updated soon!

@REDxEYE
Copy link
Owner

REDxEYE commented Feb 8, 2024

unreleased version (master branch) support 4.0, but i havent tested it much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants