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

Allow editing groups with multiple nodes selected at the same time #10331

Open
MauroPle opened this issue Jul 31, 2024 · 5 comments
Open

Allow editing groups with multiple nodes selected at the same time #10331

MauroPle opened this issue Jul 31, 2024 · 5 comments

Comments

@MauroPle
Copy link

Describe the project you are working on

A panda torturing game

Describe the problem or limitation you are having in your project

I've got 130 copies of the same node, each positioned manually, and to get all of them in an array I want to add them to the same group but it is a total pain to go over each copy and manually set the group

Describe the feature / enhancement and how it helps to overcome the problem or limitation

There should be a way to change groups on multiple nodes at the same time

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

By selecting multiple nodes in the editor, you should be able to set groups to all of them like how you can do with exported boolean variables in the inspector

If this enhancement will not be used often, can it be worked around with a few lines of script?

In some cases you can by adding nodes to group via script, that's how I think I will solve the problem I previously described, but in other cases you might not be able to do it

Is there a reason why this should be core and not an add-on in the asset library?

An add-on has to be installed for every project, and I'm not even sure if you can implement with one of them

Sorry for any grammatical errors

@Calinou Calinou changed the title Editing groups over multiple nodes at the same time Allow editing groups with multiple nodes selected at the same time Jul 31, 2024
@sancho2
Copy link

sancho2 commented Sep 2, 2024

I would add that the removing of the scene manager is a regression.
If in fact scene/global groups are simply for editor level separation and don't in fact modify the scope of a group (see this), then this change is a step backwards.
I just added 12 items to a group and it was a small misery especially when compared to how easy that was using the manager.
I would rather forgo the change and return to having a scene manager.
This proposal would seem to be an adequate compromise.

@Mickeon
Copy link

Mickeon commented Sep 2, 2024

As a bit of a note, for your particularly huge struggle you could write a short EditorScript. It would go through the edited tree and, on each node of interest, call add_to_group with its persistent parameter set to true.

@Fenrirthviti
Copy link

Adding support for this. There's plenty of use cases for wanting to select more than one node at a time and edit the group assignments as a batch job.

@ugothmeex

This comment has been minimized.

@Calinou
Copy link
Member

Calinou commented Nov 22, 2024

@ugothmeex Please don't bump issues without contributing significant new information. Use the 👍 reaction button on the first post instead.

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

7 participants