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

Incorrect rendering of centered odd-size texture (frame) in AnimatedSprite/AnimatedSprite3D #53050

Closed
kleonc opened this issue Sep 25, 2021 · 0 comments · Fixed by #53051
Closed

Comments

@kleonc
Copy link
Member

kleonc commented Sep 25, 2021

Godot version

3.4.beta5

System information

N/A

Issue description

Title.
In AnimatedSprite(2D) the rect is calculated properly but the texture is rendered incorrectly:
(it's 1x1 texture)
Godot_v3 4-beta5_win64_mnDGAHGS57

In AnimatedSprite3D the rect is consistent with the rendering but it's not centered properly:
(it's 1x1 texture)
Godot_v3 4-beta5_win64_vH75O194FM

Steps to reproduce

Add an odd-size texture as a frame to AnimatedSprite/AnimatedSprite3D and make it centered.

Minimal reproduction project

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants