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
I was trying to add background elements to my scene and noticed that changing z_index of Sprite2D node, changes Polygon2D texture to the same texture that Sprite2D holds. It happens when z_index of Sprite2D and Polygon2D is equal or lower. Changing Sprtie2D node to Polygon2D node fixes the issue.
Demonfir3
changed the title
Sprite2D replaces Polygon2D texturure when changing z_index
Sprite2D replaces Polygon2D texture when changing z_index
Dec 27, 2023
Tested versions
4.3 dev 1
System information
Windows 11 - Vulkan (Forward+) - RTX 4060
Issue description
I was trying to add background elements to my scene and noticed that changing z_index of Sprite2D node, changes Polygon2D texture to the same texture that Sprite2D holds. It happens when z_index of Sprite2D and Polygon2D is equal or lower. Changing Sprtie2D node to Polygon2D node fixes the issue.
_.node_2d2.tscn.-.minimal_project.-.Godot.Engine.2023-12-27.12-49-53.mp4
Steps to reproduce
Minimal reproduction project (MRP)
minimal_project2.zip
The text was updated successfully, but these errors were encountered: