diff --git a/speedtools/blender/io_nfs4_import.py b/speedtools/blender/io_nfs4_import.py index f31b1df..5898244 100644 --- a/speedtools/blender/io_nfs4_import.py +++ b/speedtools/blender/io_nfs4_import.py @@ -281,7 +281,7 @@ def make_drawable_object(self, name: str, mesh: DrawableMesh) -> bpy.types.Objec def make_light_object(self, name: str, light: Light) -> bpy.types.Object: bpy_light = bpy.data.lights.new(name=name, type="POINT") - bpy_light.color = light.attributes.color.rgb_float # type: ignore[assignment] + bpy_light.color = light.attributes.color.rgb_float bpy_light.use_custom_distance = True bpy_light.cutoff_distance = 15.0 bpy_light.specular_factor = 0.2