-
-
Notifications
You must be signed in to change notification settings - Fork 20.9k
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
Polygon2D node loses its UV toolbar when added as a child and/or removed as a child from another node. #96238
Comments
Thanks for notifying me! I'll try to see if I can fix it but I remember that working in that area didn't feel quite clear to me (so no big surprises that it caused some regression). |
Learned something new today :). Bisecting seems to be a very powerful tool. Okay I will leave the issue to you guys. |
Calling it a regression is a little off maybe, since earlier build deselects the moved node. The behaviour likely was the same, but there was no way to trigger it. |
In the abstract class of those editors on the It seems like the |
@object71 It seems to me that you're well equipped to fix this problem, can you do a pr? |
…ethod when assinging a node. Fixes godotengine#96238
Well, I continued to debug it and traced it to the fact that we just need to call the show method on the |
…ethod when assinging a node. Fixes godotengine#96238 (cherry picked from commit dabeaa6)
…ethod when assinging a node. Fixes godotengine#96238 (cherry picked from commit dabeaa6)
…ethod when assinging a node. Fixes godotengine#96238 (cherry picked from commit dabeaa6)
Tested versions
Reproducible in Godot 4.3
Not reproducible in Godot 4.2.2
System information
Windows 11, Godot 4.3-stable
Issue description
While working on my project, I noticed a small bug in the UI. When manipulating my Polygon2D nodes, I accidentally added one as a child of another Polygon2D node, and at that moment, I lost my UV toolbar. I clicked on the other Polygon2D nodes and still couldn’t recover it. By clicking on a different type of node and then returning to my Polygon2D, I recovered my toolbar.
I noticed that by adding it as a child and/or removing it as a child, I lost the toolbar. Testing in Godot 4.2.2, I noticed that during the process of moving the nodes, after assigning the priority place in the hierarchy, the node should lose focus, and to restore it, I have to click the node again. In the case of Godot 4.3, when moving the node and assigning it as a child, I remain in focus, but it seems to behave as if it had lost focus, and to recover the state, I have to click another type of node.
Steps to reproduce
Minimal reproduction project (MRP)
It’s not necessary, in any project following the steps you should notice it.
The text was updated successfully, but these errors were encountered: