mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge branch 'develop' into bugfix/workfiles-tasks-selection
This commit is contained in:
commit
5ccefbf2b6
4 changed files with 21 additions and 4 deletions
|
|
@ -13,7 +13,15 @@ class CollectFileDependencies(plugin.MayaContextPlugin):
|
|||
@classmethod
|
||||
def apply_settings(cls, project_settings):
|
||||
# Disable plug-in if not used for deadline submission anyway
|
||||
settings = project_settings["deadline"]["publish"]["MayaSubmitDeadline"] # noqa
|
||||
if "deadline" not in project_settings:
|
||||
cls.enabled = False
|
||||
return
|
||||
settings = (
|
||||
project_settings
|
||||
["deadline"]
|
||||
["publish"]
|
||||
["MayaSubmitDeadline"]
|
||||
)
|
||||
cls.enabled = settings.get("asset_dependencies", True)
|
||||
|
||||
def process(self, context):
|
||||
|
|
|
|||
|
|
@ -28,7 +28,16 @@ class ExtractImportReference(plugin.MayaExtractorPlugin,
|
|||
|
||||
@classmethod
|
||||
def apply_settings(cls, project_settings):
|
||||
cls.active = project_settings["deadline"]["publish"]["MayaSubmitDeadline"]["import_reference"] # noqa
|
||||
if "deadline" not in project_settings:
|
||||
cls.enabled = False
|
||||
return
|
||||
cls.active = (
|
||||
project_settings
|
||||
["deadline"]
|
||||
["publish"]
|
||||
["MayaSubmitDeadline"]
|
||||
["import_reference"]
|
||||
)
|
||||
|
||||
def process(self, instance):
|
||||
if not self.is_active(instance.data):
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
"""Package declaring AYON addon 'maya' version."""
|
||||
__version__ = "0.2.3"
|
||||
__version__ = "0.2.4"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
name = "maya"
|
||||
title = "Maya"
|
||||
version = "0.2.3"
|
||||
version = "0.2.4"
|
||||
client_dir = "ayon_maya"
|
||||
|
||||
ayon_required_addons = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue