TypeError: bpy_struct: item.attr = val: 枚举 "Raw" 在 ('Linear', 'sRGB') 中未找到

作者: kenorb创建于 2022年3月16日更新于 2022年3月17日

bpy.ops.object.origin_set(type='ORIGIN_CENTER_OF_MASS', center='MEDIAN') bpy.ops.mesh.generate_spaceship() Python: 追踪(最近一次调用): /home/kenorb/.config/blender/2.93/scripts/addons/add_mesh_SpaceshipGenerator/__init__.py,第 43 行,在 execute() 中 bpy.ops.mesh.generate_spaceship() /home/kenorb/.config/blender/2.93/scripts/addons/add_mesh_SpaceshipGenerator/spaceship_generator.py,第 724 行,在 generate_spaceship() 中 materials = create_materials() /home/kenorb/.config/blender/2.93/scripts/addons/add_mesh_SpaceshipGenerator/spaceship_generator.py,第 458 行,在 create_materials() 中 set_hull_mat_basics(mat, hull_base_color, hull_normal_map) /home/kenorb/.config/blender/2.93/scripts/addons/add_mesh_SpaceshipGenerator/spaceship_generator.py,第 436 行,在 set_hull_mat_basics() 中 return add_hull_normal_map(mat, hull_normal_map) /home/kenorb/.config/blender/2.93/scripts/addons/add_mesh_SpaceshipGenerator/spaceship_generator.py,第 419 行,在 add_hull_normal_map() 中 teximage_node.image.colorspace_settings.name = 'Raw' TypeError: bpy_struct: item.attr = val: enum "Raw" not found in ('Linear', 'sRGB') location: <unknown location>:-1

内容来源: a1studmuffin/SpaceshipGenerator