From b0151eabe47d17e9ce77a4545ec18d57ea7c91b3 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 6 Nov 2018 15:55:07 +0100 Subject: [PATCH] fixed smart_range==2 in Euclidean --- hypgraph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hypgraph.cpp b/hypgraph.cpp index 1977460f..827ed842 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -884,6 +884,7 @@ void drawEuclidean() { if(vid.use_smart_range) { if(in_smart_range(Mat)) { + if(vid.use_smart_range == 2) setdist(cw.at, 7, cw.at); if(dx < mindx) mindx = dx; if(dy < mindy) mindy = dy; if(dx > maxdx) maxdx = dx;