Skip to content

Commit

Permalink
Merge pull request #1048 from ines-torres/main
Browse files Browse the repository at this point in the history
Allowing multiple polygons for z-profile values
  • Loading branch information
janzandr authored Dec 10, 2024
2 parents a53bdce + 1e13820 commit 4694dcf
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -438,9 +438,6 @@ def onApplyClicked(self):
selectedFeatureCount = polygonLayer.selectedFeatureCount()
if selectedFeatureCount == 0:
return
elif selectedFeatureCount > 1:
warnings.warn('handling multiple shapes is not yet implemented')
return

polygonId = polygonLayer.selectedFeatureIds()[0]
name = f'{layer.name()} [band {bandNo}, polygon ID {polygonId}]'
Expand Down

0 comments on commit 4694dcf

Please sign in to comment.