Commit 2f721788 authored by Lionel Heng's avatar Lionel Heng

Fixed bugs in custom widget and 3D view.

parent 3b7e0db1
...@@ -24,6 +24,7 @@ const char* kActionLabels[MAV_ACTION_NB] = ...@@ -24,6 +24,7 @@ const char* kActionLabels[MAV_ACTION_NB] =
"CALIBRATE RC", "CALIBRATE RC",
"CALIBRATE GYRO", "CALIBRATE GYRO",
"CALIBRATE MAG", "CALIBRATE MAG",
"CALIBRATE ACC",
"CALIBRATE PRESSURE", "CALIBRATE PRESSURE",
"START REC", "START REC",
"PAUSE REC", "PAUSE REC",
......
...@@ -574,8 +574,6 @@ Pixhawk3DWidget::display(void) ...@@ -574,8 +574,6 @@ Pixhawk3DWidget::display(void)
lastRobotZ = robotZ; lastRobotZ = robotZ;
recenterCamera(robotY, robotX, -robotZ); recenterCamera(robotY, robotX, -robotZ);
return;
} }
if (followCamera) if (followCamera)
......
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