diff --git a/custom b/custom new file mode 120000 index 0000000000000000000000000000000000000000..b008f1570674f286be9cedd828ea75fb328a81a1 --- /dev/null +++ b/custom @@ -0,0 +1 @@ +/Users/Don/repos/qgc-typhoon-custom/custom/ \ No newline at end of file diff --git a/src/MissionEditor/SurveyMapVisual.qml b/src/MissionEditor/SurveyMapVisual.qml index c49802799da3e6aafc267715f9a0bd55fb27098e..34c22db3fd207110bfc36af4c210d830fe96c122 100644 --- a/src/MissionEditor/SurveyMapVisual.qml +++ b/src/MissionEditor/SurveyMapVisual.qml @@ -304,7 +304,8 @@ Item { var dragHandle = dragHandleComponent.createObject(map) dragHandle.coordinate = Qt.binding(function() { return object.coordinate }) map.addMapItem(dragHandle) - var dragArea = dragAreaComponent.createObject(map, { "itemIndicator": dragHandle, "itemCoordinate": object.coordinate, "polygonVertex": index }) + var dragArea = dragAreaComponent.createObject(map, { "itemIndicator": dragHandle, "itemCoordinate": object.coordinate }) + dragArea.polygonVertex = Qt.binding(function() { return index }) _visuals.push(dragHandle) _visuals.push(dragArea) }