-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Use a scene tree in the Group Editor instead of a list #3351
Comments
Hello there :) I made this mockup in gdscript and I can made pull request to the engine if someone approves these changes. group_editor.mp4Maybe there are some other suggestions for improvement, for example, remove the plus button and add a group on double click or add a drop-down menu (add / remove) |
@DarkMessiah I think we still want to see the list of nodes added to the group at any point, without scrolling through the whole list. Maybe the list of groups can be a tree and added nodes display on a sub-level there? This also begs for drag'n'drop support, if it doesn't have it yet. |
I think maybe a context menu option would be better than a dialog? Then you could filter the scene tree, select the nodes you want to add/remove groups instead of doing it one-by-one. |
@DarkMessiah Yeah, something like this makes sense to me. |
Another idea: Make the Groups tab of the Node panel handle multiselection of Nodes. Actually, I like this better than having it in the SceneTree panel. |
I think this one is resolved by godotengine/godot#60965 as well |
@Maran23 I couldn't confirm it when merging. How does it look now? |
Now we don't have a separate Group Editor window because we can see Scene Tree and Groups Tree at the same time. Maybe we need a feature to highlight nodes in some group. |
Hm, yes, it depends what we want to achieve. But one point is still somewhat true, you can not see what nodes are inside what global group (you need to check the Groups tab for every node/scene). |
Describe the project you are working on
A top-down 2D mining and base building game.
Describe the problem or limitation you are having in your project
The Group Editor is somewhat hard to use, because it displays nodes in a long list with their name and sometimes their parent's name.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
The Group Editor would use the same node tree as is seen in the Scene tab and signal connection window, which would make selecting nodes in the Group Editor far easier. Although this change isn't extremely necessary, it is just a small UX change.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
The current Group Editor:
The Scene tab:
The "Nodes not in Group" and "Nodes in Group" sections could be replaced with a tree instead of a list. Any nodes that are in the selected group would be grayed out in the "Nodes not in Group" section, and vice versa for "Nodes in Group" in order to distinguish the two.
If this enhancement will not be used often, can it be worked around with a few lines of script?
The Group Editor can't be modified with a script.
Is there a reason why this should be core and not an add-on in the asset library?
Add-ons can't modify the Group Editor, and the Group Editor is a built-in part of Godot.
The text was updated successfully, but these errors were encountered: