technistguru / MagicaVoxel_Importer

Blender addon for importing MagicaVoxel (.vox) files.
GNU General Public License v3.0
33 stars 5 forks source link

Import error #1

Open milooooq opened 3 years ago

milooooq commented 3 years ago

Traceback (most recent call last): File "C:\Users\M\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MagicaVoxel_Importer.py", line 85, in execute import_vox(path, self) File "C:\Users\M\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MagicaVoxel_Importer.py", line 526, in import_vox bsdf.inputs["Emission Strength"].default_value = materials[id][3] * 20 KeyError: 'bpy_prop_collection[key]: key "Emission Strength" not found'

location: :-1

coreysj commented 2 years ago

I am seeing the same error. I thought it might be due to presence of a material with emit enabled, but I still get this error when importing a vox with only the default diffuse material.