RSDKModding / RetroED

RetroED v2.0
GNU General Public License v3.0
28 stars 5 forks source link

[Scene Editor] DrawArrow does not work with INK_BLEND correctly #18

Closed Lavesiime closed 2 years ago

Lavesiime commented 2 years ago

When using DrawArrow (or DrawLine) from v3/v4 scripts, the editor tries to respect whatever is currently set in object.inkEffect. However, it seems like when using INK_BLEND, it doesn't work unless object.alpha is already set to be a nonzero value? I'm not going to outright label it a bug in case there's something I'm missing, but the way INK_BLEND is expected to work is that it'll automatically assume the object an alpha of 128, without the value needing to be manually set in script. It doesn't look like this is ever accounted for in the C++ side of the code, however.