[libchamplain] Disable use of memphis_renderer_tile_has_data until it works correctly



commit 75f5926e5640c3c4c73985001d10290248a8d3dc
Author: JiÅ?í Techet <techet gmail com>
Date:   Wed Mar 10 01:53:38 2010 +0100

    Disable use of memphis_renderer_tile_has_data until it works correctly
    
    Signed-off-by: JiÅ?í Techet <techet gmail com>

 champlain/champlain-memphis-tile-source.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/champlain/champlain-memphis-tile-source.c b/champlain/champlain-memphis-tile-source.c
index 62ca97e..00d39b9 100644
--- a/champlain/champlain-memphis-tile-source.c
+++ b/champlain/champlain-memphis-tile-source.c
@@ -427,11 +427,10 @@ memphis_worker_thread (gpointer worker_data, gpointer user_data)
 
   data->cst = NULL;
 
-  g_static_rw_lock_reader_lock (&MemphisLock);
-  has_data = memphis_renderer_tile_has_data (GET_PRIVATE(map_source)->renderer, data->x, data->y, data->z);
-  g_static_rw_lock_reader_unlock (&MemphisLock);
-
-  printf ("memphis_renderer_tile_has_data returns: %d\n", (int)has_data);
+// uncomment when libmemphis works correctly
+//  g_static_rw_lock_reader_lock (&MemphisLock);
+//  has_data = memphis_renderer_tile_has_data (GET_PRIVATE(map_source)->renderer, data->x, data->y, data->z);
+//  g_static_rw_lock_reader_unlock (&MemphisLock);
 
   if (has_data)
     {



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