mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
13 lines
438 B
Python
13 lines
438 B
Python
from pyblish import api
|
|
from openpype.api import get_current_project_settings, get_system_settings
|
|
|
|
|
|
class CollectSettings(api.ContextPlugin):
|
|
"""Collect Settings and store in the context."""
|
|
|
|
order = api.CollectorOrder - 0.491
|
|
label = "Collect Settings"
|
|
|
|
def process(self, context):
|
|
context.data["project_settings"] = get_current_project_settings()
|
|
context.data["system_settings"] = get_system_settings()
|