Skip to content

Commit

Permalink
## 4.5.1.5
Browse files Browse the repository at this point in the history
* Bug Fixes
  * display the angle correctly when showing doghouses.
  • Loading branch information
takdeveloper committed Jul 1, 2022
1 parent 7eae109 commit fe76169
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 20 deletions.
6 changes: 6 additions & 0 deletions VERSION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Version History

## 4.5.1.5

* Bug Fixes
* display the angle correctly when showing doghouses.


## 4.5.1.4

* Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion atak/ATAK/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ buildscript {
apply from: '../../gradle/versions.gradle', to: project

ext.ATAK_VERSION = "4.5.1"
ext.ATAK_VERSION_SUBMINOR = ".4"
ext.ATAK_VERSION_SUBMINOR = ".5"

ext.isDevKitEnabled = { ->
return getProperty('takRepoMavenUrl', null) != null &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,22 +505,22 @@ private void updateTurnpointId() {
}

/**
* converts the bearing from 1 route point to the next by users current north reference preference
* Calculates the bearing from 1 route point to the next and sets it on the doghouse, displaying
* it using the user's current north reference preference.
*/
private void setBearingToNext() {
_bearingToNext = _source.get().bearingTo(_target.get());
double bearingMag;
double bearing;
if (_northReference == NorthReference.MAGNETIC) {
bearingMag = ATAKUtilities.convertFromTrueToMagnetic(_source.get(),
bearing = ATAKUtilities.convertFromTrueToMagnetic(_source.get(),
_bearingToNext);
} else if (_northReference == NorthReference.TRUE) {
bearingMag = ATAKUtilities.convertFromMagneticToTrue(_source.get(),
_bearingToNext);
bearing = _bearingToNext;
} else {
bearingMag = ATAKUtilities.computeGridConvergence(_source.get(),
bearing = ATAKUtilities.computeGridConvergence(_source.get(),
_target.get());
}
String bearingRepr = formatBearingString(bearingMag);
String bearingRepr = formatBearingString(bearing);
setMetaString(
DoghouseFields.BEARING_TO_NEXT.toString(), bearingRepr);

Expand Down
4 changes: 2 additions & 2 deletions depends/LASzip-3.4.3-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/assimp-4.0.1-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/gdal-2.4.4-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/libLAS-1.8.2-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/tinygltf-2.4.1-mod.tar.gz
Git LFS file not shown
4 changes: 2 additions & 2 deletions depends/tinygltfloader-0.9.5-mod.tar.gz
Git LFS file not shown
Binary file modified pluginsdk.zip
Binary file not shown.

0 comments on commit fe76169

Please sign in to comment.