aseprite icon indicating copy to clipboard operation
aseprite copied to clipboard

Countour Tool: pixel perfect doesnt work after a straight line

Open EthanHunt404 opened this issue 1 year ago • 4 comments

this is an old issue regarding the countour tool, Its quite simple if you try doing a straight line with the shift key and continue after the pixel perfect feature stops working

Steps to recreate:

  • create a new document, any size, any color mode;
  • select the coutour tool(shortcut D);
  • draw a pixel anywere in the canvas, thats point A;
  • hold shift, aseprite will preview the line from point A to whatever other pixel your mouse in hovering;
  • press to confirm whenever you want but dont stop, immediatly start dragging it to continue drawing with the countour tool, you can stop holding shift now, it doesnt change whats happening its at this point the bug shows itself.

Aseprite and System version

  • Aseprite version: 1.3.2, Steam version
  • System: Windows 10 amd graphics card.

EthanHunt404 avatar Jan 03 '24 06:01 EthanHunt404

1.3.2 behavior https://www.loom.com/share/2588d1d2563c41a893680bef38944743 1.2.40 behavior https://www.loom.com/share/aff49720730845aab15ac66b78ce32c0

i believe this happens ever since the start of 1.3 betas on steam too.

EthanHunt404 avatar Jan 05 '24 03:01 EthanHunt404

Thanks for reporting this. I was able to reproduce it.

Gasparoken avatar Jan 18 '24 13:01 Gasparoken

i just wanna say that the fix mister @Gasparoken proposed is working wonders, i compiled aseprite myself with the changes he proposed and it absolutely worked, not only countour tool, but the Pen and Eraser also were fixed.

EthanHunt404 avatar May 02 '24 07:05 EthanHunt404

why did you reopen this @dacap? also this original post was in a small scope, this is part of a bigger issue in the shift line behaviro, pen and eraser also repet the same behaviour.

EthanHunt404 avatar May 10 '24 07:05 EthanHunt404

hey i want to comment on this again, im not sure why this has been moved to another milestone, the fix was suitable and it didnt seen to cause any other unintended effects, im relly invested on this specifically, cause its one of the main reasons i bought aseprite way back when, and it heavily hinders work, so i wanted to hear a reason to not implement what mr. @Gasparoken proposed.

EthanHunt404 avatar May 28 '24 05:05 EthanHunt404

@EthanHunt404 this was moved to the next milestone because v1.3.7 was already released with some important security updates. I didn’t test this yet but it will be included in the next version. The issue must be kept open until the fix is merged in main (that’s why I reopened it).

dacap avatar May 28 '24 09:05 dacap