mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 01:09:22 +02:00
Fix error upon revalidating after changing unsquare building threshold (close #6690)
This commit is contained in:
@@ -94,7 +94,7 @@ export function coreValidator(context) {
|
||||
|
||||
// rerun for all buildings
|
||||
buildings.forEach(function(entity) {
|
||||
var detected = checkUnsquareWay(entity, context);
|
||||
var detected = checkUnsquareWay(entity, context.graph());
|
||||
if (detected.length !== 1) return;
|
||||
|
||||
var issue = detected[0];
|
||||
|
||||
Reference in New Issue
Block a user