Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #11455 (Crash when setting transparency for WMS layer)
Layer transparency instance was not copied when renderers were cloned.
- Loading branch information
Showing
5 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c9e05f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wonder-sk This change has introduced a ton of crashes - you can see them if you try and run the test suite, or at http://dash.orfeo-toolbox.org/viewTest.php?onlyfailed&buildid=161197 . I think in some cases mRasterTransparency is not set, so the copy constructor causes a segfault.
c9e05f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D'oh what a shameful "fix" - going to fix it... thanks for pointing it out
c9e05f9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wonder-sk don't worry, you're excused... 2600CHF to go and we won't have to check this anymore! ;)