Skip to content

Fix #399: Maya 2019+ hide containers in outliner#400

Merged
BigRoy merged 2 commits into
getavalon:masterfrom
BigRoy:399
Jul 16, 2019
Merged

Fix #399: Maya 2019+ hide containers in outliner#400
BigRoy merged 2 commits into
getavalon:masterfrom
BigRoy:399

Conversation

@BigRoy
Copy link
Copy Markdown
Collaborator

@BigRoy BigRoy commented Jul 3, 2019

This implements #399 - simple as that.

  • Backwards compatible, it first checks whether the attribute exists.
  • Will only set the value on newly created containers/sets.

@BigRoy
Copy link
Copy Markdown
Collaborator Author

BigRoy commented Jul 3, 2019

Note, this currently does hide the Main container for Maya 2019 scenes when loading a new instance into an existing scene, but not its members making them "all" visible in the outliner by themselves.

I'll change the code so it only hides the main container on initial creation...

- This way it will not interfere with already loaded content in existing scenes.
@davidlatwe
Copy link
Copy Markdown
Collaborator

Sorry, currently not able to access Maya 2019 for giving this a try, hopefully there will be some gif :P

@BigRoy
Copy link
Copy Markdown
Collaborator Author

BigRoy commented Jul 3, 2019

Here's a little preview.

outliner_hidden

It shows:

  • Containers being hidden.
  • Whenever a "set" is in the container, it now directly shows in the outliner. Yay!
  • You can hide/unhide them via the Display > Ignore "Hidden in Outliner" option.

Copy link
Copy Markdown
Collaborator

@tokejepsen tokejepsen left a comment

Choose a reason for hiding this comment

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

Looks good to me :)

@BigRoy
Copy link
Copy Markdown
Collaborator Author

BigRoy commented Jul 4, 2019

Will merge this tomorrow if no objections..

@BigRoy BigRoy merged commit d6b8740 into getavalon:master Jul 16, 2019
@BigRoy BigRoy deleted the 399 branch January 25, 2021 14:44
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