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 toggling visibility of several nodes in the Scene tree dock by click-and-dragging (and/or on all selected nodes at once) #5488

Open
circuitbone opened this issue Sep 25, 2022 · 2 comments · May be fixed by godotengine/godot#102009

Comments

@circuitbone
Copy link

circuitbone commented Sep 25, 2022

Describe the project you are working on

This feature is about hiding and showing multiple layers with one mouse click.
In other programs you can click once and then slide up or down to disable them all.
In some programs a button allows your to toggle them all off and on at once.

Describe the problem or limitation you are having in your project

Reduces clicks on large volumes of objects in a node.

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

  • Disable All Feature : Disable all eye icon on parent node would be ok for a substitute until this feature is implemented.
  • Disable click and drag : As you click and drag, the eye icons are switched off

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

Blender and Godot 3.5 video examples : Blender example executing this feature in 330

Blender 330

blender_hide_show_slide.mov

Godot 3.5

click_slide_enable_disable.mov

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

I do not have comprehension of how to execute this feature yet.

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

core feature found in the big applications to reduce visibility interaction.

@Calinou Calinou changed the title Hide / Show Layer visibility improvement Click Drag or Hide all Icon Allow toggling visibility of several nodes in the Scene tree dock by click-and-dragging (and/or on all selected nodes at once) Sep 25, 2022
@Mickeon
Copy link

Mickeon commented Sep 26, 2022

I put some thought into this. This would require some tweaking of the Tree class, because it would be nice to have this feature (click and dragging) built into it, instead of relying on a hacky workaround to have it work. Hmm... The latter of which would require the Scene Tree Editor to intercept the mouse input...

@circuitbone
Copy link
Author

Another area that could benefit from lots of wasted clicking

Screen Shot 2022-11-03 at 6 10 38 am2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants