diff --git a/PanoPainter/GameViewController.m b/PanoPainter/GameViewController.m index d66940e..1e5f101 100644 --- a/PanoPainter/GameViewController.m +++ b/PanoPainter/GameViewController.m @@ -157,6 +157,7 @@ int t_count = 0; - (void)viewDidAppear:(BOOL)animated { + App::I.redraw = true; [self resignFirstResponder]; [self registerForKeyboardNotifications]; } @@ -235,6 +236,8 @@ int t_count = 0; - (void)glkView:(GLKView *)view drawInRect:(CGRect)rect { + if (!App::I.redraw) + return; App::I.clear(); App::I.update(0); } diff --git a/PanoPainter/Info.plist b/PanoPainter/Info.plist index 44468d2..90b2ea6 100644 --- a/PanoPainter/Info.plist +++ b/PanoPainter/Info.plist @@ -2,6 +2,8 @@ + NSPhotoLibraryAddUsageDescription + Save the pano image in the user gallery CFBundleDevelopmentRegion en CFBundleExecutable diff --git a/data/layout.xml b/data/layout.xml index 9586553..e36854d 100644 --- a/data/layout.xml +++ b/data/layout.xml @@ -353,6 +353,7 @@