mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
loader setting overrides are added for both Loader and SubsetLoader classes
This commit is contained in:
parent
c03caf8059
commit
557352f7ed
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ def set_plugin_attributes_from_settings(
|
|||
# map plugin superclass to preset json. Currenly suppoted is load and
|
||||
# create (avalon.api.Loader and avalon.api.Creator)
|
||||
plugin_type = None
|
||||
if superclass.__name__.split(".")[-1] == "Loader":
|
||||
if superclass.__name__.split(".")[-1] in ("Loader", "SubsetLoader"):
|
||||
plugin_type = "load"
|
||||
elif superclass.__name__.split(".")[-1] == "Creator":
|
||||
plugin_type = "create"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue