nielswh/iPhone-AR-Toolkit — Issue #15: cameraOrientation not set 
Author: scheckmedia
Created: 2012-01-05 16:34:32+00:00
State: open

hi,
i think that the condition 472 in AugmentedRealityController.m should look like

```java
if (orientation != UIDeviceOrientationUnknown && orientation != UIDeviceOrientationFaceUp && orientation != UIDeviceOrientationFaceDown) {
switch (orientation) {
case UIDeviceOrientationLandscapeLeft:
cameraOrientation = AVCaptureVideoOrientationLandscapeLeft;
break;
...
```

because the cameraOrientation was never assigned before...