Explorar el Código

Update io_export_babylon.py

David Catuhe hace 10 años
padre
commit
26e279b8ab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Exporters/Blender/io_export_babylon.py

+ 1 - 1
Exporters/Blender/io_export_babylon.py

@@ -1184,7 +1184,7 @@ class Light(FCurveAnimatable):
         else:
             matrix_world = light.matrix_world.copy()
             matrix_world.translation = mathutils.Vector((0, 0, 0))
-            self.direction = -(mathutils.Vector((0, 0, -1)) * matrix_world)
+            self.direction = (mathutils.Vector((0, 0, -1)) * matrix_world)
             self.groundColor = mathutils.Color((0, 0, 0))
             
         self.intensity = light.data.energy