This commit is contained in:
Sakari Hyoty 2013-12-11 17:41:00 +02:00
Родитель 384cf762eb
Коммит 6dbe5f10f3
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -106,8 +106,6 @@ namespace ChromaKeyDemo.Pages
var rotation = App.Camera.SensorLocation == CameraSensorLocation.Back ?
App.Camera.SensorRotationInDegrees : - App.Camera.SensorRotationInDegrees;
//App.Camera.SetProperty(KnownCameraGeneralProperties.EncodeWithOrientation, rotation);
//ViewfinderCanvas.RenderTransform = new RotateTransform() { Angle = rotation, CenterX = ViewfinderCanvas.Width / 2, CenterY = ViewfinderCanvas.Height / 2 };
ViewfinderBrush.SetSource(App.Camera);
ViewfinderBrushTransform.Rotation = rotation;