Skip to content

[lua] Fix drawing is moved to 0,0 in some specific scripts (fix #5679)#5680

Merged
dacap merged 1 commit into
aseprite:mainfrom
Gasparoken:fix-draw-sprite
Feb 27, 2026
Merged

[lua] Fix drawing is moved to 0,0 in some specific scripts (fix #5679)#5680
dacap merged 1 commit into
aseprite:mainfrom
Gasparoken:fix-draw-sprite

Conversation

@Gasparoken

Copy link
Copy Markdown
Member

fix #5679

…ite#5679)

Before this fix the first drawing on canvas when used in time-lapse
recorder scripts, the drawing were moved to 0,0.
This issue comes to light after merging the beta branch (1.3.17).

This was a regression from commit
05f2a1e
Original message: '[lua] Fix Image:drawSprite() call when we're in the
middle of a ToolLoop (part of aseprite#3916)'
@Gasparoken Gasparoken self-assigned this Feb 27, 2026
@Gasparoken Gasparoken requested a review from dacap as a code owner February 27, 2026 13:37
@aseprite-bot

Copy link
Copy Markdown
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

@Gasparoken Gasparoken assigned dacap and unassigned Gasparoken Feb 27, 2026
@dacap

dacap commented Feb 27, 2026

Copy link
Copy Markdown
Member

It works 👍

@dacap dacap merged commit d1624d9 into aseprite:main Feb 27, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[lua] Fix drawing is moved to 0,0 on the first drawing when used in time-lapse recorder scripts

3 participants