Changeset 659:d0311805dcd4


Ignore:
Timestamp:
08/08/15 07:25:56 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Prepar3D is also checked for when deciding what offsets to use for the PMDG 737NGX (re #273).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/fsuipc.py

    r657 r659  
    16811681        super(PMDGBoeing737NGModel, self).addMonitoringData(data, fsType)
    16821682
    1683         if fsType==const.SIM_MSFSX:
    1684             print "FSX detected, adding PMDG 737 NGX-specific offsets"
     1683        if fsType==const.SIM_MSFSX or fsType==const.SIM_P3D:
     1684            print "%s detected, adding PMDG 737 NGX-specific offsets" % \
     1685                  ("FSX" if fsType==const.SIM_MSFSX else "P3D",)
    16851686            self._addOffsetWithIndexMember(data, 0x6500, "b",
    16861687                                           "_pmdgidx_lts_positionsw")
Note: See TracChangeset for help on using the changeset viewer.