This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
Loader: Remove default family states for hosts from code #2706
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This removes the Avalon data being set for
familiesStateToggled
andfamiliesStateDefault
from theinstall()
logic for hosts.Specifically:
avalon.api.data["familiesStateToggled"]
avalon.api.data["familiesStateDefault"]
This can be removed since the code does nothing within OpenPype due to overriding this behavior with the admin settings with
project_settings/global/tools/loader/family_filter_profiles
Question
Even though it currently did nothing within OpenPype - would we like to save default settings with OpenPype that match what this code did originally. The current OpenPype default settings define no filtering whatsoever.
Testing notes:
I tested both in Maya + Houdini. Also tested with custom settings set in Admin Settings for a host and with settings removed in OpenPype for a host. Behavior was the same before and after - nothing being filtered when not set in settings.