From 608093eee5f27d874597afdea74cd774f7df0831 Mon Sep 17 00:00:00 2001 From: Sam Gateau Date: Fri, 10 Nov 2017 02:55:22 -0800 Subject: [PATCH] reverting the change in light direction /oritenation --- libraries/model/src/model/Light.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/model/src/model/Light.cpp b/libraries/model/src/model/Light.cpp index 9c3e0a5282..19da084f84 100755 --- a/libraries/model/src/model/Light.cpp +++ b/libraries/model/src/model/Light.cpp @@ -58,7 +58,7 @@ void Light::setOrientation(const glm::quat& orientation) { } void Light::setDirection(const Vec3& direction) { - _lightSchemaBuffer.edit().volume.direction = (_transform.getRotation() * direction); + _lightSchemaBuffer.edit().volume.direction = (direction); } const Vec3& Light::getDirection() const {