Skip to content

Commit

Permalink
## 4.4.0.14
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 Feb 10, 2022
1 parent a73b359 commit 93bf001
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 9 deletions.
5 changes: 5 additions & 0 deletions VERSION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Version History

## 4.4.0.14

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

## 4.4.0.13

* 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 @@ -24,7 +24,7 @@ import java.util.regex.Pattern
buildscript {

ext.ATAK_VERSION = "4.4.0"
ext.ATAK_VERSION_SUBMINOR = ".13"
ext.ATAK_VERSION_SUBMINOR = ".14"

ext.jacocoVersion = '0.8.5'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -501,22 +501,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
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.atakmap.app.R;
import com.atakmap.coremap.cot.event.CotDetail;
import com.atakmap.coremap.cot.event.CotEvent;
import com.atakmap.coremap.filesystem.FileSystemUtils;
import com.atakmap.coremap.maps.coords.GeoPoint;
import com.atakmap.coremap.maps.coords.GeoPointMetaData;
import com.atakmap.coremap.maps.time.CoordinatedTime;
Expand Down Expand Up @@ -211,7 +212,7 @@ public void setTitle(final String title) {
super.setTitle(title);

// only call refresh if the title actually changes
if (!title.equals(prevTitle))
if (!FileSystemUtils.isEquals(title, prevTitle))
refresh();
}

Expand Down
Binary file modified depends/assimp-4.0.1-mod.tar.gz
Binary file not shown.
Binary file modified depends/gdal-2.4.4-mod.tar.gz
Binary file not shown.
Binary file modified depends/tinygltf-2.4.1-mod.tar.gz
Binary file not shown.
Binary file modified depends/tinygltfloader-0.9.5-mod.tar.gz
Binary file not shown.
Binary file modified pluginsdk.zip
Binary file not shown.

0 comments on commit 93bf001

Please sign in to comment.