Commit 78369ef
committed
Fix LandingComplexItems hamburger menu options
Fixed an issue where the movement options in the MissionItemEditor's
hamburger menu for both fixed wing and VTOL LandingComplexItems only
moved the approach primitive instead of the entire complex item. This
happened because LandingComplexItem::setCoordinate method only
repositioned the approach item.
Modified LandingComplexItem::setCoordinate to take over the
functionality previously handled by the fixed-wing-only
moveLandingPosition method. The relevant logic has also been updated to
avoid unnecessary recalculations.
Other movement behaviors have been verified to be correct and remain
unchanged for both fixed wing and VTOL. In summary:
- FW landing patterns:
- Drag land primitive on map: Moves entire pattern (no change)
- Hamburger menu item movement options: Moves approach primitive
only (before), moves entire pattern (after)
- Landing point -> Set to vehicle location: Moves land primitive
only (no change)
- VTOL landing patterns:
- Drag land primitive on map: Moves land primitive only (no change)
- Hamburger menu item movement options: Moves approach primitive
only (before), moves entire pattern (after)
- Landing point -> Set to vehicle location: Moves land primitive
only (no change)1 parent be3e6a2 commit 78369ef
File tree
5 files changed
+15
-14
lines changed- src
- MissionManager
- QmlControls
5 files changed
+15
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | 138 | | |
149 | 139 | | |
150 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
646 | 659 | | |
647 | 660 | | |
648 | 661 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
0 commit comments