semiautomaticgit / SemiAutomaticClassificationPlugin

https://fromgistors.blogspot.com/p/semi-automatic-classification-plugin.html
Other
136 stars 50 forks source link

Update scpdock.py #232

Closed SimoParmeg closed 1 year ago

SimoParmeg commented 1 year ago

corrected an issue in line 2527, in addHighlightPolygon clr.setAlpha(rT) TypeError: setAlpha(self, int): argument 1 has unexpected type 'float'

the issue was in the previous line:

rT = 255 - cfg.ROITrnspVal * 255 / 100

returns a float, i returned an integer

semiautomaticgit commented 1 year ago

Thank you for the contribution!