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

toggle node activated from collapsed state #5147

Open
gotjoshua opened this issue Oct 2, 2024 · 3 comments
Open

toggle node activated from collapsed state #5147

gotjoshua opened this issue Oct 2, 2024 · 3 comments

Comments

@gotjoshua
Copy link

Problem statement

When a node is collapsed, i would love to be able to activate or deactivate without needing to expand.
This is especially relevant for view nodes and for the stethoscope.

Example:

  1. get a stethoscope all wired up

  2. collapse the node
    image

  3. toggle the active state from a button that is usable in the collapsed state

Sverchok version

Master.

I am open to try a PR, but i'll need some guidance and encouragement from the maintainers.

@satabol
Copy link
Collaborator

satabol commented Nov 10, 2024

You can use Mute mode. Select node and press "M" button. To unmute press M again.

@gotjoshua
Copy link
Author

what is the reason to have both a visibility toggle internal to the node, and mute?

in what way are they different?

@satabol
Copy link
Collaborator

satabol commented Nov 11, 2024

'Mute' is a Blender feature. If you mute some Geonodes or Sverchok nodes then it pass data throught (not always with right way). Visibility is a feature of some nodes Sverchok for convenience to not disconnect sockets to hide visualization. Some times Viz nodes used to debug scheme when you try to analyze data. Minimize nodes is a feature of Blender. I think it is impossible to do custom function to visualize minimized node and show some buttons arbitrary. There is a way to append some context items programmatically:
image
But it is not realized right now.

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

No branches or pull requests

2 participants