Skip to content

Commit

Permalink
r69 directional light target update work around
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlyons committed Nov 2, 2014
1 parent e0dd807 commit c347d84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontporch14/iframes/lights.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@
function setupTween(obj, prop, targetValue) {
var update = function(){
obj[prop] = current.property;
dLight.target.updateMatrixWorld(); // https://github.com/mrdoob/three.js/issues/5555
dLightHelper.update();
sLightHelper.update();
}
Expand Down

0 comments on commit c347d84

Please sign in to comment.