Changeset f1ddcc8


Ignore:
Timestamp:
05/23/11 22:42:29 (4 years ago)
Author:
xkolman2 <xkolman2@…>
Branches:
master
Children:
35f0ed7
Parents:
f8d618c
git-author:
xkolman2 <xkolman2@…> (05/23/11 22:42:29)
git-committer:
xkolman2 <xkolman2@…> (05/23/11 22:42:29)
Message:

fix redrawing with overlay

git-svn-id: https://nlp.fi.muni.cz/svn/gps_navigace/trunk@386 0858a4d0-ffff-46e5-938e-62b5ecb34222

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/mod_mapTiles.py

    rf8d618c rf1ddcc8  
    776776      # new tile available, make redraw request TODO: what overhead does this create ? 
    777777      if self.get('tileLoadedRedraw', True): 
    778         self.set('needRedraw', True) 
     778        overlay = self.get('overlay', False) 
     779        if overlay: # only redraw when a composited tile is loaded with overlay on 
     780          if type == "composite": 
     781            self.set('needRedraw', True) 
     782        else: # redraw regardles of type with overlay off 
     783          self.set('needRedraw', True) 
    779784 
    780785  def trimCache(self): 
Note: See TracChangeset for help on using the changeset viewer.