Problem with #ATTRTRANSPARENTCOLOR

Report any Hollywood bugs here
Post Reply
PEB
Posts: 262
Joined: Sun Feb 21, 2010 1:28 am

Problem with #ATTRTRANSPARENTCOLOR

Post by PEB » Fri Oct 25, 2019 4:12 pm

If a GIF image or animation is loaded with {LoadTransparency=True}, the transparency is applied correctly when the brush or animation is displayed. However, if the transparency color is then checked using #ATTRTRANSPARENTCOLOR in GetAttribute() with either #BRUSH or #ANIM, it never seems to return anything but -1 (not even #NOTRANSPARENCY).

User avatar
airsoftsoftwair
Posts: 3206
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problem with #ATTRTRANSPARENTCOLOR

Post by airsoftsoftwair » Fri Oct 25, 2019 10:02 pm

Thanks, will be fixed.

User avatar
airsoftsoftwair
Posts: 3206
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problem with #ATTRTRANSPARENTCOLOR

Post by airsoftsoftwair » Sun Dec 08, 2019 3:41 pm

So -1 is actually #NOTRANSPARENCY but as a signed value instead of unsigned which it should be. Fixed now.

Code: Select all

- Fix: #ATTRTRANSPARENTCOLOR returned #NOTRANSPARENCY as a signed value whereas it should be unsigned

Post Reply