Permalink
Browse files

DirectionalLight gizmo fix

  • Loading branch information...
1 parent bfe9123 commit 81384323644072fc8b4ac07d0eaa0e2286613b15 @Greg209 Greg209 committed Jul 8, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 awaybuilder-core/src/awaybuilder/view/scene/controls/LightGizmo3D.as
@@ -60,6 +60,7 @@ package awaybuilder.view.scene.controls
}
public function updateRepresentation() : void {
+ _representation.transform.identity();
if (type == DIRECTIONAL_LIGHT) {
_representation.eulers = sceneObject.eulers.clone();
_representation.rotationX -= 90;

0 comments on commit 8138432

Please sign in to comment.