diff --git a/io_scene_dae/export_dae.py b/io_scene_dae/export_dae.py index 7ee0e17..370dc35 100644 --- a/io_scene_dae/export_dae.py +++ b/io_scene_dae/export_dae.py @@ -1087,7 +1087,7 @@ class DaeExporter: self.writel(S_LAMPS,5,''+strarr(light.color)+'') att_by_distance = 2.0 / light.distance # convert to linear attenuation self.writel(S_LAMPS,5,''+str(att_by_distance)+'') - self.writel(S_LAMPS,5,''+str(math.degrees(light.spot_size))+'') + self.writel(S_LAMPS,5,''+str(math.degrees(light.spot_size/2))+'') self.writel(S_LAMPS,4,'')