mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge branch 'develop' of https://github.com/ynput/ayon-core into enhancement/allow_disabling_removal_of_rendereed_files_on_farm
# Conflicts: # server/settings/publish_plugins.py
This commit is contained in:
commit
4c4993b7e2
2 changed files with 156 additions and 0 deletions
|
|
@ -12,6 +12,10 @@ from ayon_server.settings import (
|
|||
from ayon_server.types import ColorRGBA_uint8
|
||||
|
||||
|
||||
class EnabledModel(BaseSettingsModel):
|
||||
enabled: bool = SettingsField(True)
|
||||
|
||||
|
||||
class ValidateBaseModel(BaseSettingsModel):
|
||||
_isGroup = True
|
||||
enabled: bool = SettingsField(True)
|
||||
|
|
@ -1040,6 +1044,17 @@ class PublishPuginsModel(BaseSettingsModel):
|
|||
default_factory=IntegrateHeroVersionModel,
|
||||
title="Integrate Hero Version"
|
||||
)
|
||||
AttachReviewables: EnabledModel = SettingsField(
|
||||
default_factory=EnabledModel,
|
||||
title="Attach Reviewables",
|
||||
description=(
|
||||
"When enabled, expose an 'Attach Reviewables' attribute on review"
|
||||
" and render instances in the publisher to allow including the"
|
||||
" media to be attached to another instance.\n\n"
|
||||
"If a reviewable is attached to another instance it will not be "
|
||||
"published as a render/review product of its own."
|
||||
)
|
||||
)
|
||||
CollectRenderedFiles: CollectRenderedFilesModel = SettingsField(
|
||||
default_factory=CollectRenderedFilesModel,
|
||||
title="Clean up farm rendered files"
|
||||
|
|
@ -1428,6 +1443,9 @@ DEFAULT_PUBLISH_VALUES = {
|
|||
],
|
||||
"use_hardlinks": False
|
||||
},
|
||||
"AttachReviewables": {
|
||||
"enabled": True,
|
||||
},
|
||||
"CollectRenderedFiles": {
|
||||
"remove_files": True
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue