Commit 268479b1 authored by Lorenz Meier's avatar Lorenz Meier

Merge pull request #41 from ARCADE-UAV/crashfix

fixes segfault in local 3D view when starting QGC without having a UAS selected
parents aaf236a9 956cf4cd
......@@ -778,7 +778,10 @@ Pixhawk3DWidget::update(void)
// updateImagery(robotX, robotY, robotZ, utmZone);
}
updateHUD(mActiveUAS, frame);
if (mActiveUAS)
{
updateHUD(mActiveUAS, frame);
}
layout()->update();
}
......
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