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

Changing texture width height on Line2D with tiled texture doesn't update properly automatically #99526

Open
runningopenloop opened this issue Nov 22, 2024 · 0 comments

Comments

@runningopenloop
Copy link

Tested versions

Reproducible in:
v4.2.2.stable.official [15073af]
v4.3.stable.official.77dcf97d8
v4.4.dev5.official.9e6098432

System information

MX Linux 23.3, 6.1.0-11-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-4 (2023-08-08) x86_64 GNU/Linux, OpenGL API 3.3.0 NVIDIA 535.183.01 - Compatibility - Using Device: NVIDIA - NVIDIA GeForce RTX 3060 Ti

Issue description

Here is a view of the Line2D with a tiled texture.
Image

Here I change height from 512 to 256. While the texture update, it doesn't properly reflect how it should be textured.
Image

After toggling visibility, texture updates properly.
Image

Changing texture size should trigger similar updates as toggling visibility (or changing width of line) --> this also causes proper update of texture.


Also see my document feedback where I encountered this: godotengine/godot-docs#10297

Steps to reproduce

Described above.

Minimal reproduction project (MRP)

mrp-line2d-tiledtexture-texturesizechanged.zip

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

No branches or pull requests

2 participants