Skip to content

Commit

Permalink
replace missing bracket in lookat controller
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-bateman committed Jul 11, 2013
1 parent deb2574 commit e30c034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/away3d/controllers/LookAtController.as
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ package away3d.controllers

if (_targetObject) {

if (_lookAtPosition)
if (_lookAtPosition) {
_targetObject.lookAt(_lookAtPosition, _upAxis);
} else if (_lookAtObject) {
_targetObject.lookAt(_lookAtObject.scene ? _lookAtObject.scenePosition : _lookAtObject.position, _upAxis);
Expand Down

0 comments on commit e30c034

Please sign in to comment.