mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Remove (not yet deprecated?) system_settings from apply_settings
This commit is contained in:
parent
6033462198
commit
91a4ae5dfd
2 changed files with 3 additions and 3 deletions
|
|
@ -30,8 +30,8 @@ class ExtractImportReference(publish.Extractor,
|
||||||
tmp_format = "_tmp"
|
tmp_format = "_tmp"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def apply_settings(cls, project_setting, system_settings):
|
def apply_settings(cls, project_settings):
|
||||||
cls.active = project_setting["deadline"]["publish"]["MayaSubmitDeadline"]["import_reference"] # noqa
|
cls.active = project_settings["deadline"]["publish"]["MayaSubmitDeadline"]["import_reference"] # noqa
|
||||||
|
|
||||||
def process(self, instance):
|
def process(self, instance):
|
||||||
if not self.is_active(instance.data):
|
if not self.is_active(instance.data):
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ class ValidateMayaUnits(pyblish.api.ContextPlugin):
|
||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def apply_settings(cls, project_settings, system_settings):
|
def apply_settings(cls, project_settings):
|
||||||
"""Apply project settings to creator"""
|
"""Apply project settings to creator"""
|
||||||
settings = (
|
settings = (
|
||||||
project_settings["maya"]["publish"]["ValidateMayaUnits"]
|
project_settings["maya"]["publish"]["ValidateMayaUnits"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue