Skip to content

Commit

Permalink
Merge pull request #5494 from DonLakeFlyer/HomeFix
Browse files Browse the repository at this point in the history
Plan: Update home position when loading plan after vehicle already connected
  • Loading branch information
DonLakeFlyer authored Jul 24, 2017
2 parents 69ef783 + 2d1f2d1 commit f9fb25e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MissionManager/MissionController.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ void MissionController::_initAllVisualItems(void)
_settingsItem->setIsCurrentItem(true);
}

if (!_editMode && _managerVehicle->homePosition().isValid()) {
if (_managerVehicle->homePosition().isValid()) {
_settingsItem->setCoordinate(_managerVehicle->homePosition());
}

Expand Down

0 comments on commit f9fb25e

Please sign in to comment.