Commit 097cc934 authored by Don Gagne's avatar Don Gagne

Show mission items while fence editing

parent 55ea0a7c
...@@ -385,7 +385,7 @@ QGCView { ...@@ -385,7 +385,7 @@ QGCView {
// Add the complex mission item polygon to the map // Add the complex mission item polygon to the map
MapItemView { MapItemView {
model: _editingLayer == _layerMission ? missionController.complexVisualItems : undefined model: missionController.complexVisualItems
delegate: MapPolygon { delegate: MapPolygon {
color: 'green' color: 'green'
...@@ -396,7 +396,7 @@ QGCView { ...@@ -396,7 +396,7 @@ QGCView {
// Add the complex mission item grid to the map // Add the complex mission item grid to the map
MapItemView { MapItemView {
model: _editingLayer == _layerMission ? missionController.complexVisualItems : undefined model: missionController.complexVisualItems
delegate: MapPolyline { delegate: MapPolyline {
line.color: "white" line.color: "white"
...@@ -407,7 +407,7 @@ QGCView { ...@@ -407,7 +407,7 @@ QGCView {
// Add the complex mission item exit coordinates // Add the complex mission item exit coordinates
MapItemView { MapItemView {
model: _editingLayer == _layerMission ? missionController.complexVisualItems : undefined model: missionController.complexVisualItems
delegate: exitCoordinateComponent delegate: exitCoordinateComponent
} }
...@@ -425,7 +425,7 @@ QGCView { ...@@ -425,7 +425,7 @@ QGCView {
// Add the simple mission items to the map // Add the simple mission items to the map
MapItemView { MapItemView {
model: _editingLayer == _layerMission ? missionController.visualItems : undefined model: missionController.visualItems
delegate: missionItemComponent delegate: missionItemComponent
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment