Changeset 2283


Ignore:
Timestamp:
03/16/11 19:45:38 (14 months ago)
Author:
dart
Message:

LotATC:
o manage airport svg rotation

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/common/airportdata.py

    r2282 r2283  
    165165             
    166166        item = QGraphicsItemGroup() 
     167        xc = self.map_center_svg[0] 
     168        yc = self.map_center_svg[1] 
     169        item.setTransform(QTransform().translate(xc, yc).rotate(self.real_angle).translate(-xc, -yc)) 
    167170         
    168171        for element in ["Taxi","Runway",  "Twr",  "Road", "Building", "Text"]: 
  • trunk/lotatc_client/ilsview/airportscene.py

    r2282 r2283  
    6565    # @param cache Current cache object 
    6666    def update_targets(self, cache): 
    67         if not (self.airport_map and self.airport_map.pixmap): 
     67        if not (self.airport_map): 
    6868            return 
    6969 
Note: See TracChangeset for help on using the changeset viewer.