From 81e80f513ca3061453037ecc12dde385e97bf341 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sat, 2 Feb 2019 20:19:27 -0800 Subject: [PATCH] Show camera mode if plan contains it --- src/MissionManager/CameraSection.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MissionManager/CameraSection.cc b/src/MissionManager/CameraSection.cc index feccaf552..89ddc77fe 100644 --- a/src/MissionManager/CameraSection.cc +++ b/src/MissionManager/CameraSection.cc @@ -578,7 +578,7 @@ void CameraSection::_cameraActionChanged(void) bool CameraSection::cameraModeSupported(void) const { - return _vehicle->firmwarePlugin()->supportedMissionCommands().contains(MAV_CMD_SET_CAMERA_MODE); + return _specifyCameraMode || _vehicle->firmwarePlugin()->supportedMissionCommands().contains(MAV_CMD_SET_CAMERA_MODE); } void CameraSection::_dirtyIfSpecified(void) -- 2.22.0