Commit 9ea3ca75 authored by Alejandro's avatar Alejandro

Add drag to home position

parent 1fe54579
......@@ -765,8 +765,8 @@ void MapWidget::captureGeometryEndDrag(Geometry* geom, QPointF coordinate)
{
// Update homePosition
UASManager::instance()->setHomePosition(
static_cast<double>(homeCoordinate.x()),
static_cast<double>(homeCoordinate.y()), 0);
static_cast<double>(homeCoordinate.y()),
static_cast<double>(homeCoordinate.x()), 0);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment