mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge branch 'develop' into enhancement/OP-2848_move-loader-logic-from-avalon-to-openpype
This commit is contained in:
commit
348ccc68b1
34 changed files with 363 additions and 207 deletions
|
|
@ -1601,11 +1601,13 @@ def get_creator_by_name(creator_name, case_sensitive=False):
|
|||
Returns:
|
||||
Creator: Return first matching plugin or `None`.
|
||||
"""
|
||||
from openpype.pipeline import LegacyCreator
|
||||
|
||||
# Lower input creator name if is not case sensitive
|
||||
if not case_sensitive:
|
||||
creator_name = creator_name.lower()
|
||||
|
||||
for creator_plugin in avalon.api.discover(avalon.api.Creator):
|
||||
for creator_plugin in avalon.api.discover(LegacyCreator):
|
||||
_creator_name = creator_plugin.__name__
|
||||
|
||||
# Lower creator plugin name if is not case sensitive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue