Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
dff88c80
Unverified
Commit
dff88c80
authored
Jan 20, 2019
by
Don Gagne
Committed by
GitHub
Jan 20, 2019
Browse files
Merge pull request #7174 from DonLakeFlyer/WaypointsOnly
Plan: Tweaks to custom build waypoints only mode
parents
42a6f783
2ad9a44e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/PlanView/MissionSettingsEditor.qml
View file @
dff88c80
...
...
@@ -36,7 +36,7 @@ Rectangle {
property
var
_fileExtension
:
QGroundControl
.
settingsManager
.
appSettings
.
missionFileExtension
property
var
_appSettings
:
QGroundControl
.
settingsManager
.
appSettings
property
bool
_waypointsOnlyMode
:
QGroundControl
.
corePlugin
.
options
.
missionWaypointsOnly
property
bool
_showCameraSection
:
(
!
_waypointsOnlyMode
||
QGroundControl
.
corePlugin
.
showAdvancedUI
)
&&
!
_missionVehicle
.
apmFirmware
property
bool
_showCameraSection
:
(
_waypointsOnlyMode
||
QGroundControl
.
corePlugin
.
showAdvancedUI
)
&&
!
_missionVehicle
.
apmFirmware
property
bool
_simpleMissionStart
:
QGroundControl
.
corePlugin
.
options
.
showSimpleMissionStart
property
bool
_showFlightSpeed
:
!
_missionVehicle
.
vtol
&&
!
_simpleMissionStart
&&
!
_missionVehicle
.
apmFirmware
...
...
src/PlanView/PlanView.qml
View file @
dff88c80
...
...
@@ -588,7 +588,7 @@ QGCView {
rotateImage
:
[
masterController
.
syncInProgress
,
false
,
false
,
false
,
false
,
false
,
false
]
animateImage
:
[
masterController
.
dirty
,
false
,
false
,
false
,
false
,
false
,
false
]
buttonEnabled
:
[
!
masterController
.
syncInProgress
,
true
,
true
,
true
,
true
,
true
,
true
]
buttonVisible
:
[
true
,
true
,
_waypointsOnlyMode
,
true
,
true
,
_showZoom
,
_showZoom
]
buttonVisible
:
[
true
,
true
,
false
/*
_waypointsOnlyMode
*/
,
true
,
true
,
_showZoom
,
_showZoom
]
maxHeight
:
mapScale
.
y
-
toolStrip
.
y
property
bool
_showZoom
:
!
ScreenTools
.
isMobile
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment