olivierdalang / VectorBender

VectorBender is a QGis plugin
GNU General Public License v3.0
37 stars 15 forks source link

Regression bug fix - API method name change. #19

Closed jaminmelville closed 4 years ago

jaminmelville commented 5 years ago

Fixes error thrown when trying to run VectorBender on a point layer.

Method name in class QgsGeometry updated from fromPoint to fromPointXY as a result of breaking change in QGIS API going between versions 2 and 3.

jaminmelville commented 5 years ago

It seems you omitted to fix the multipoint transformation, which has the same problem: from "QgsGeometry.fromMultiPoint( newListA )" to "QgsGeometry.fromMultiPointXY( newListA )"

Thanks @zezzagio! I've added another commit which addresses this also :+1: