Skip to content

Commit

Permalink
Merge branch 'release/0.10.5' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
caewok committed Aug 29, 2024
2 parents bd12ec8 + 45d8e14 commit 4f159c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.10.5
Fix for `_fromPoint3d` not a function.

# 0.10.4
Compatibility with Terrain Mapper 0.4.1.
Update Polish translation. Thanks @Lioheart! Closes #184. Update Brazilian Portugese translation. Thanks @Kharmans!
Expand Down
2 changes: 0 additions & 2 deletions scripts/measurement/MovePenalty.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,6 @@ export class MovePenalty {
const cutawayIxs = [];
const terrainAPI = this.constructor.terrainAPI;
for ( const region of this.pathRegions ) {
terrainAPI.ElevationHandler._fromPoint3d(start);
terrainAPI.ElevationHandler._fromPoint3d(end);
const ixs = region.terrainmapper._cutawayIntersections(start, end);
ixs.forEach(ix => ix.region = region);
cutawayIxs.push(...ixs);
Expand Down

0 comments on commit 4f159c1

Please sign in to comment.