mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
OP37/GCS MapLib - Fixed a bug reported by PeterG Again
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1231 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
10736204be
commit
ea309623a6
@ -116,7 +116,7 @@ namespace mapcontrol
|
||||
//verify if the UAV is inside the safety bouble
|
||||
if(Distance3D(mapwidget->Home->Coord(),mapwidget->Home->Altitude())>mapwidget->Home->SafeArea())
|
||||
{
|
||||
if(mapwidget->Home->safe!=false);
|
||||
if(mapwidget->Home->safe!=false)
|
||||
{
|
||||
mapwidget->Home->safe=false;
|
||||
mapwidget->Home->update();
|
||||
|
Loading…
x
Reference in New Issue
Block a user