Incorrect rendering of centered odd-size texture (frame) in AnimatedSprite
/AnimatedSprite3D
#53050
Labels
Milestone
AnimatedSprite
/AnimatedSprite3D
#53050
Godot version
3.4.beta5
System information
N/A
Issue description
Title.
![Godot_v3 4-beta5_win64_mnDGAHGS57](https://user-images.githubusercontent.com/9283098/134767827-9fd5af8e-4198-4e38-8853-66d7f14d4e2f.png)
In
AnimatedSprite(2D)
the rect is calculated properly but the texture is rendered incorrectly:(it's 1x1 texture)
In
![Godot_v3 4-beta5_win64_vH75O194FM](https://user-images.githubusercontent.com/9283098/134767828-acdace3f-7a14-4045-83de-4c936630606d.png)
AnimatedSprite3D
the rect is consistent with the rendering but it's not centered properly:(it's 1x1 texture)
Steps to reproduce
Add an odd-size texture as a frame to
AnimatedSprite
/AnimatedSprite3D
and make it centered.Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: