diff --git a/src/MissionManager/SurveyMissionItemTest.cc b/src/MissionManager/SurveyMissionItemTest.cc index fd7a7e3163a75851ad33dce057f6a059485c24c9..7b207797b5cac97f1de9489092d9c8267ddccf17 100644 --- a/src/MissionManager/SurveyMissionItemTest.cc +++ b/src/MissionManager/SurveyMissionItemTest.cc @@ -34,6 +34,7 @@ void SurveyMissionItemTest::init(void) _offlineVehicle = new Vehicle(MAV_AUTOPILOT_PX4, MAV_TYPE_QUADROTOR, qgcApp()->toolbox()->firmwarePluginManager(), this); _surveyItem = new SurveyMissionItem(_offlineVehicle, this); _surveyItem->setTurnaroundDist(0); // Unit test written for no turnaround distance + _surveyItem->setDirty(false); _mapPolygon = _surveyItem->mapPolygon(); // It's important to check that the right signals are emitted at the right time since that drives ui change.