Decorrelation Stretch or Enhanced Multiband Color Rendering block the display for Color Space Explorer

Issue #1339 resolved
Agustin Lobo created an issue

Once you apply Decorrelation Stretch or Enhanced Multiband Color Rendering, the Color Space Explorer does not work: you select different composited but the display remains as left by the other tools. At some point, qgis crashes.

3.10.0.20220401T124144.develop c7d679b

Comments (4)

  1. Agustin Lobo reporter

    Just found that when the display does not refresh with the new composite, I get:

    2022-05-02T12:53:19     WARNING    Traceback (most recent call last):
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/coreapps/colorspaceexplorerapp/colorspaceexplorerdialog.py", line 217, in onLiveUpdate
                  self.onApplyClicked()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/coreapps/colorspaceexplorerapp/colorspaceexplorerdialog.py", line 205, in onApplyClicked
                  layer.renderer().setRedBand(self.mRedBand.currentBand())
                 AttributeError: 'DecorrelationStretchRenderer' object has no attribute 'setRedBand'

  2. Log in to comment