Changeset 2194


Ignore:
Timestamp:
10/13/10 19:13:41 (19 months ago)
Author:
dart
Message:

LotATC:
o Fix weather
o Fix init for map centering
o Remove debug

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/common/mapview.py

    r2030 r2194  
    6161        self.foreground_color = QColor("black") 
    6262        self.setViewportUpdateMode(QGraphicsView.SmartViewportUpdate) 
    63         self.current_pos = QPoint(0,0) 
     63        self.current_pos = QPointF(0,0) 
    6464 
    6565 
  • trunk/logging.conf

    r1985 r2194  
    2727 
    2828[logger_lotatcwnd] 
    29 level=DEBUG 
     29level=WARNING 
    3030handlers=file_client,console 
    3131propagate=1 
  • trunk/lotatc_client/lotatcwnd.py

    r2165 r2194  
    14121412                meteo = self.mission.get_meteo() 
    14131413            else: 
    1414                 meteo = self.mission["weather"] 
     1414                meteo = self.mission["mission"]["weather"] 
    14151415            self.ui.mapView.scene().set_meteo( meteo ) 
    14161416            self.update_meteo_dock() 
     
    14231423                meteo = self.mission.get_meteo() 
    14241424            else: 
    1425                 meteo = self.mission["weather"] 
     1425                meteo = self.mission["mission"]["weather"] 
    14261426            self.dockWidgets["Weather"].widget().update_meteo( meteo, self.version_chooser.version ) 
    14271427#---------------------------------------------------------------- 
  • trunk/lotatc_server/lotatc_radarServer.py

    r2191 r2194  
    372372    if self.globalServerConfig.Mission: 
    373373      for m in self.globalServerConfig.Mission: 
    374         self.cnxObj.sendFrame( MISSION_REP + "|" + m) 
     374        self.cnxObj.sendFrame( MISSION_REP + "|" + m.encode('utf_8')) 
    375375      # End of: for m in self.globalServerConfig.Mission: 
    376376         
Note: See TracChangeset for help on using the changeset viewer.