Skip to content

Porting#438#484

Merged
davidlatwe merged 19 commits into
getavalon:masterfrom
davidlatwe:porting#438
Dec 24, 2019
Merged

Porting#438#484
davidlatwe merged 19 commits into
getavalon:masterfrom
davidlatwe:porting#438

Conversation

@davidlatwe
Copy link
Copy Markdown
Collaborator

@davidlatwe davidlatwe commented Dec 13, 2019

This PR is aim to resolve #438.

PR #438 was huge, and a few parts of it was build on top of old tech-debt. But after PR #471, #473, #476, I think this is the final piece to finish up the rest.

What's changed

  • nuke.ls now listing containers from all types of nodes, not just Read type node.
  • Changed nuke.Creator to allow instance to have multiple nodes with backdrop.
  • Added nuke.command and move util functions from nuke.pipeline to there. (Backwards compatible)
  • Added a few helper functions to nuke.lib

Please let me know if there's anything missing or broken. @jezscha

Comment thread avalon/nuke/lib.py
[n['selected'].setValue(True) for n in previous_selection]


def reset_selection():
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe deselect_all is a better name?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, @jezscha what do you think ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, no wait. Since this isn't a new function that introduced here and already been used, so we better not to change the name. 🤔

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @davidlatwe sorry for the slow response.. Yes please this is used many times.. anyway you could rename it but link this for backward compatibility

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can live with current name :)

Comment thread avalon/nuke/lib.py
@davidlatwe
Copy link
Copy Markdown
Collaborator Author

Merging this :)

@davidlatwe davidlatwe merged commit d380d88 into getavalon:master Dec 24, 2019
@davidlatwe davidlatwe deleted the porting#438 branch December 24, 2019 08:54
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

Successfully merging this pull request may close these issues.

3 participants