Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

SubsetLoader and support multiple contexts #331

Merged
merged 8 commits into from
May 10, 2021
Merged

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented May 7, 2021

OpenPype 3 version of PR

  • SubsetLoader only appears once in the right click menu.
  • If a SubsetLoader support multiple contexts with is_multiple_context_compatible attribute, it'll get a list of contexts passed to its load method.

Additional changes

  • partially fixed RepresentationWidget in library loader
    • AvalonMongoDB was not passed to widget and widget internally used avalon.io
  • added filtering of SubsetLoader inside RepresentationWidget
Pype 2 PRs
avalon-core #329
pype ynput/OpenPype#1484
Relates to PRs
OpenPype ynput/OpenPype#1497


if (
tools_lib.is_representation_loader(loader)
and not self.sync_server_enabled
Copy link

Choose a reason for hiding this comment

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

line break before binary operator

Copy link
Member

@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.

Sorry cant test this, but looks good!

@mkolar mkolar merged commit 4c40ed5 into develop May 10, 2021
@mkolar mkolar deleted the feature/3.0_subset_loader branch May 10, 2021 08:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants