Skip to content

Commit 799a4e4

Browse files
committed
Fix imshow bug -> interpolate distance camera
1 parent 9087efc commit 799a4e4

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/show/imshow.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ void renderImGuiWindows()
523523
// Check if updated
524524
inter_by_dist = interpolate_bool;
525525
if (ImGui::Button("Animate Path")) {
526+
updateCamera();
526527
pathAnimate(0);
527528
pointmode = 1; // hack to prevent modal dialog to be rendered this cycle
528529
// the correct pointmode gets set next cycle in idleIm()

src/slam6d/BruteForceNotATree.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ double *BruteForceNotATree::FindClosest(double *_p, double maxdist2, int threadN
6464
idx = i;
6565
}
6666
}
67-
67+
6868
if (Dist2(_p, pts[idx]) > maxdist2) return 0;
6969
return pts[idx];
7070
}

0 commit comments

Comments
 (0)