summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gui/main-window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/main-window.cpp b/gui/main-window.cpp
index 51925c49..43d80be7 100644
--- a/gui/main-window.cpp
+++ b/gui/main-window.cpp
@@ -515,8 +515,8 @@ void MainWindow::display_pose(const double *mapped, const double *raw)
for (int i = 0; i < 6; i++)
{
- mapped_[i] = int(mapped[i]);
- raw_[i] = int(raw[i]);
+ mapped_[i] = iround(mapped[i]);
+ raw_[i] = iround(raw[i]);
}
ui.raw_x->display(raw_[TX]);