|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Change color plugin » » » » Post: Re: Change color plugin - broken in v5.2 |
Print at Dec 21, 2025, 1:17:53 PM |
| Posted by digitaltrails at Mar 4, 2016, 3:29:28 AM |
|
Re: Change color plugin - broken in v5.2 The plugin code is removing the alpha when comparing colours, which isn't a problem. But its also removing the alpha when changing them - this is causing the issue I'm seeing. Looking at the code, it seems I was originally concerned about preserving the destination's original alpha. Only if the new colour has a non 0xFF alpha, should the new alpha be used). I had disabled this as extraneous. I've fixed the code, and re-enabled alpha preservation of the destinations original alpha. So far it looks good. Once I've done some more testing I'll put up a new version. |
|
|
Current timezone is GMT Dec 21, 2025, 1:17:53 PM |