You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GradientTexture2D/1D emit changed signal before its texture actually updates, which causes issues in certain case that can't update texture by listen its changed signal. The issue was found in #102028.
Steps to reproduce
The issue occurs if you draw gradient texture in a viewport and only update once.
Attach the follow script to a Node2D, assign a GradientTexture2D/GradientTexture1D to the texture property, then the texture display incorrectly and doesn't update after changing its gradient, unless reload the scene. Instead, assigning a NoiseTexture2D to the texture works well.
beicause
changed the title
GradientTexture1D/2D changed signal is unreliable in certain case
GradientTexture1D/2D changed signal emitted before texture updating which causes issue in certain case
Jan 27, 2025
Tested versions
Reproducible in 4.4.dev
System information
Linux - Godot 4.4.dev
Issue description
GradientTexture2D/1D emit changed signal before its texture actually updates, which causes issues in certain case that can't update texture by listen its changed signal. The issue was found in #102028.
Steps to reproduce
The issue occurs if you draw gradient texture in a viewport and only update once.
Attach the follow script to a Node2D, assign a GradientTexture2D/GradientTexture1D to the texture property, then the texture display incorrectly and doesn't update after changing its gradient, unless reload the scene. Instead, assigning a NoiseTexture2D to the texture works well.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: