Skip to content

Commit

Permalink
Fix: Normalize camera heading
Browse files Browse the repository at this point in the history
avoids compatibility issues with ABC
  • Loading branch information
TwinFan committed Feb 24, 2024
1 parent 4e2a94a commit e5e6db8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ else()
endif()

project(LiveTraffic
VERSION 3.5.1
VERSION 3.5.2
DESCRIPTION "LiveTraffic X-Plane plugin")

# Building a Beta version can be demanded via ENV variable 'version_beta' being set to 1
Expand Down
4 changes: 2 additions & 2 deletions LiveTraffic.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@
LIVETRAFFIC_VERSION_BETA = 0;
LIVETRAFFIC_VER_MAJOR = 3;
LIVETRAFFIC_VER_MINOR = 5;
LIVETRAFFIC_VER_PATCH = 1;
LIVETRAFFIC_VER_PATCH = 2;
LLVM_LTO = NO;
MACH_O_TYPE = mh_dylib;
MACOSX_DEPLOYMENT_TARGET = 10.15;
Expand Down Expand Up @@ -896,7 +896,7 @@
LIVETRAFFIC_VERSION_BETA = 0;
LIVETRAFFIC_VER_MAJOR = 3;
LIVETRAFFIC_VER_MINOR = 5;
LIVETRAFFIC_VER_PATCH = 1;
LIVETRAFFIC_VER_PATCH = 2;
LLVM_LTO = YES;
MACH_O_TYPE = mh_dylib;
MACOSX_DEPLOYMENT_TARGET = 10.15;
Expand Down
2 changes: 1 addition & 1 deletion Src/DataRefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2604,7 +2604,7 @@ void DataRefs::UpdateViewPos()

lastCamPos = positionTy(lat, lon, alt,
dataRefs.GetSimTime(),
camPos.heading,
HeadingNormalize(camPos.heading),
camPos.pitch,
camPos.roll);
}
Expand Down
19 changes: 18 additions & 1 deletion docs/readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,29 @@ <h1 id="release-notes">Release Notes</h1>

<h2>v3</h2>

<h3>v3.5.1</h3>
<h3>v3.5.2</h3>

<P>
<b>Update:</b> In case of doubt you can always just copy all files from the archive
over the files of your existing installation.
</P>

<P>At least copy the following files, which have changed compared to v3.5.1:</P>
<ul>
<li><code>lin|mac|win_x64/LiveTraffic.xpl</code></li>
</ul>

<P>Change log:</P>

<ul>
<li>
Normalize camera heading to avoid compatibility issues with camera plugins,
<a href="https://forums.x-plane.org/index.php?/forums/topic/302039-known-issue-with-351-and-realtraffic/&do=findComment&comment=2677479">see here</a>.
</li>
</ul>

<h3>v3.5.1</h3>

<P>At least copy the following files, which have changed compared to v3.5.0:</P>
<ul>
<li><code>lin|mac|win_x64/LiveTraffic.xpl</code></li>
Expand Down

0 comments on commit e5e6db8

Please sign in to comment.