[gegl] gcut: autozoom to fit on start



commit eb32f476d4f52e77d0eea73b321b9f135dabf04a
Author: Øyvind Kolås <pippin gimp org>
Date:   Mon Aug 7 00:04:51 2017 +0200

    gcut: autozoom to fit on start

 gcut/gcut-ui.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gcut/gcut-ui.c b/gcut/gcut-ui.c
index 5020d13..ea8a439 100644
--- a/gcut/gcut-ui.c
+++ b/gcut/gcut-ui.c
@@ -3406,6 +3406,12 @@ int gcut_ui_main (GeglEDL *edl)
 //  gcut_set_use_proxies (edl, 1);
   toggle_use_proxies (NULL, edl, NULL);
   renderer_start (edl);
+
+  /* XXX: should not be needed */
+  { MrgEvent ev;
+    ev.mrg = mrg;
+    zoom_fit (&ev, edl, NULL);
+  }
   mrg_main (mrg);
   gcut_free (edl);
   gegl_exit ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]