Commit f3a7fb0e authored by Lionel Heng's avatar Lionel Heng

Added separators to pop-up menus in 3D view for better viewing clarity.

parent 5628912a
......@@ -1462,14 +1462,17 @@ Pixhawk3DWidget::mousePressEvent(QMouseEvent* event)
}
menu.addAction("Clear all waypoints", this, SLOT(clearAllWaypoints()));
menu.addSeparator();
menu.addAction("Select target", this, SLOT(selectTarget()));
if (mouseOverImagery)
{
menu.addSeparator();
menu.addAction("Move imagery", this, SLOT(moveImagery()));
}
if (mouseOverTerrain)
{
menu.addSeparator();
menu.addAction("Move terrain", this, SLOT(moveTerrain()));
menu.addAction("Rotate terrain", this, SLOT(rotateTerrain()));
menu.addAction("Edit terrain parameters", this, SLOT(showTerrainParamWindow()));
......
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