Skip to content

Commit

Permalink
[ftools] fix polygon from layer extent tool:
Browse files Browse the repository at this point in the history
with the "Calculate extent for each feature separately" option ticked, it generates a python error.
  • Loading branch information
slarosa committed Aug 5, 2013
1 parent a5a309b commit 7748102
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/fTools/tools/doGeometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,8 @@ def layer_extent( self ):

return True

def feature_extent( self, ):
def feature_extent( self ):
vprovider = self.vlayer.dataProvider()
self.emit( SIGNAL( "runStatus( PyQt_PyObject )" ), 0 )

fields = QgsFields()
Expand Down

0 comments on commit 7748102

Please sign in to comment.