Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colour index changes when rotating #50

Open
NealeTools opened this issue Mar 29, 2021 · 2 comments
Open

Colour index changes when rotating #50

NealeTools opened this issue Mar 29, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@NealeTools
Copy link

Hi Remy - This seems a bit weird and intermittent. But using "r" seems to sometimes corrupt the colour indexing of a sprite.

See vid: https://www.dropbox.com/s/j2u6k94jusiuknc/Screen%20Recording%202021-03-29%20at%2009.50.48.mov?dl=0

In this case I keep selecting i15 to fill, and it reverts to i238 when I rotate the sprite.

I've also occasionally observed much bigger changes, that I have to press undo to revert. I wonder: Is the there some cached data that isn't being updated prior to the rotate, thus the sprite gets overwritten with rotated "old" data?

@remy
Copy link
Owner

remy commented Mar 30, 2021

Huh, that's super weird. I was going to ask for a sprite to work with, but then I drew a simple arrow, rotated once and this happened!

Screenshot 2021-03-30 at 10 11 16

(for some reason I've left rotation debug at the bottom of the screen which is useful in this case)

@remy remy added the bug Something isn't working label Mar 30, 2021
@NealeTools
Copy link
Author

Looks like a few spurious bytes are being loaded in during each frame of animation.
I may be wrong, but I think the problem only happens when rapidly pressing "r". That's why I wondered if there was a cached bit of data that hadn't quite finished updating prior to the next rotate being issued.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants