Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 12, 2021
1 parent 9cf44e4 commit 3feda23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/grass7/Grass7Algorithm.py
Expand Up @@ -1030,15 +1030,15 @@ def exportAttributeTable(self, grassName, fileName, outFormat='CSV', layer=1):
def setSessionProjectionFromProject(self):
"""
Set the projection from the project.
We creates a PROJ4 definition which is transmitted to Grass
We create a WKT definition which is transmitted to Grass
"""
if not Grass7Utils.projectionSet and iface:
self.setSessionProjection(iface.mapCanvas().mapSettings().destinationCrs())

def setSessionProjectionFromLayer(self, layer):
"""
Set the projection from a QgsVectorLayer.
We creates a PROJ4 definition which is transmitted to Grass
We create a WKT definition which is transmitted to Grass
"""
if not Grass7Utils.projectionSet:
self.setSessionProjection(layer.crs())
Expand Down

0 comments on commit 3feda23

Please sign in to comment.