elm_photocam : create 1x1 grid default 83/79583/2
authorJEONGHYUN YUN <jh0506.yun@samsung.com>
Tue, 12 Jul 2016 02:29:46 +0000 (11:29 +0900)
committerJEONGHYUN YUN <jh0506.yun@samsung.com>
Tue, 12 Jul 2016 02:33:07 +0000 (11:33 +0900)
@tizen_fix
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
Change-Id: I79e06225f31f0f4243cd63bee490f75750eb5859

src/lib/elm_photocam.c

index f376d14..2c6e14e 100644 (file)
@@ -497,8 +497,9 @@ _grid_create(Evas_Object *obj)
    g->w = g->iw / g->zoom;
    g->h = g->ih / g->zoom;
 
+   // TIZEN_ONLY(20160712): create 1x1 grid default
    // TIZEN_ONLY(20150813): need to create 1x1 grid when zoom >= 8 to load high res img
-   if ((sd->do_region) && (g->zoom < 8))
+   /*if ((sd->do_region) && (g->zoom < 8))
      {
         g->gw = (g->w + g->tsize - 1) / g->tsize;
         g->gh = (g->h + g->tsize - 1) / g->tsize;
@@ -507,7 +508,10 @@ _grid_create(Evas_Object *obj)
      {
         g->gw = 1;
         g->gh = 1;
-     }
+     }*/
+   g->gw = 1;
+   g->gh = 1;
+   //
 
    g->grid = calloc(1, sizeof(Elm_Photocam_Grid_Item) * g->gw * g->gh);
    if (!g->grid)