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

Clearer UI For FilterPlug Inside Python Node? #6183

Open
danieldresser-ie opened this issue Dec 11, 2024 · 1 comment
Open

Clearer UI For FilterPlug Inside Python Node? #6183

danieldresser-ie opened this issue Dec 11, 2024 · 1 comment
Assignees

Comments

@danieldresser-ie
Copy link
Contributor

Yannic observed today that the UI for a FilterPlug connection inside a Python node can be extremely counter-intuitive.

If you make a Python node containing a scene node with the FilterPlug is directly connected to the parent ( which is a pretty natural thing to do ), then when viewing the Filter tab of the internal node, you see that the connected filter is the parent node, and you get a list of all the parameters of parent.

I debated whether to file this as a bug report or a feature ... but it's really not a bug - it is showing you the parameters of the connected node.

But it would probably give a result that is much closer to what someone might expect if the search for a connected filter ignored plugs with Direction == In ... then the internal node could show the actual PathFilter or whatever is connected to the parent, which is probably more what someone would be expecting to see.

@johnhaddon
Copy link
Member

Yeah, I think we want to use plug.source() to find the eventual source of the connection, not just the immediate input. And then we only want to show the node if it is actually a Filter node. Could you add this to your todo list please Daniel?

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