Browse Source

Fixed a bug where a black line would be rendered when starting to draw a polygon.

QGC4.4
nickexists 9 years ago
parent
commit
fa5c6e2543
  1. 4
      src/FlightMap/FlightMap.qml

4
src/FlightMap/FlightMap.qml

@ -367,7 +367,9 @@ Map { @@ -367,7 +367,9 @@ Map {
// Update drag coordinate
var polygonPath = polygonDrawerPolygon.path
polygonPath[polygonDrawerPolygon.path.length - 1] = dragCoordinate
polygonDrawerPolygon.path = polygonPath
if (polygonDrawerPolygon.path.length>2){
polygonDrawerPolygon.path = polygonPath
}
}
}
}

Loading…
Cancel
Save