Skip to content

Commit

Permalink
Merge branch 'release/0.6.4'
Browse files Browse the repository at this point in the history
caewok committed Feb 7, 2023
2 parents a360676 + ec63c9c commit 57b8579
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.6.4
Fix for issue #14 (Drag Ruler pathfinding).

## 0.6.3
Update geometry lib to v0.1.3.

3 changes: 3 additions & 0 deletions scripts/customEdges.js
Original file line number Diff line number Diff line change
@@ -141,6 +141,9 @@ export function identifyEdgesClockwiseSweepPolygon(wrapped) {
// See class LightSource and initialize method
const doc = src.object.document;

// Issue #14 (drag ruler pathfinding does not use a proper edge)
if ( !doc ) return;

let edges_cache = getFlag(doc, FLAGS.CUSTOM_WALLS.EDGES);
if (!edges_cache || edges_cache.length === 0) return;

0 comments on commit 57b8579

Please sign in to comment.