Skip to content

Commit

Permalink
Merge pull request #949 from nens/leendert-issue-948
Browse files Browse the repository at this point in the history
Leendert fix issue 948
  • Loading branch information
leendertvanwolfswinkel authored Oct 31, 2023
2 parents 11a287a + 330f569 commit 02cc901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool_watershed/watershed_analysis_dockwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ def pushbutton_catchment_for_polygons_clicked(self):
if self.gq.graph_3di.isready:
polygon_lyr = self.mMapLayerComboBoxTargetPolygons.currentLayer()
src_crs = polygon_lyr.crs()
tgt_crs = QgsCoordinateReferenceSystem(f"EPSG:{self.gq.epsg}")
tgt_crs = QgsCoordinateReferenceSystem(f"EPSG:{self.gq.gr.epsg_code}")
tr = QgsCoordinateTransform(src_crs, tgt_crs, QgsProject.instance())

if self.checkBoxSelectedPolygonsOnly.isChecked():
Expand Down

0 comments on commit 02cc901

Please sign in to comment.