ayon-core/openpype/plugins/publish/collect_settings.py
2021-04-01 18:54:46 +02:00

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()