mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
add missing settings
This commit is contained in:
parent
97b192b02b
commit
3de0c8ed66
5 changed files with 62 additions and 28 deletions
|
|
@ -62,6 +62,12 @@
|
||||||
"Main"
|
"Main"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"CreateMantraIFD": {
|
||||||
|
"enabled": true,
|
||||||
|
"default_variants": [
|
||||||
|
"Main"
|
||||||
|
]
|
||||||
|
},
|
||||||
"CreateMantraROP": {
|
"CreateMantraROP": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"default_variants": [
|
"default_variants": [
|
||||||
|
|
@ -137,14 +143,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"publish": {
|
"publish": {
|
||||||
|
"CollectAssetHandles": {
|
||||||
|
"use_asset_handles": true
|
||||||
|
},
|
||||||
"CollectChunkSize": {
|
"CollectChunkSize": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"chunk_size": 999999
|
"chunk_size": 999999
|
||||||
},
|
},
|
||||||
"CollectAssetHandles": {
|
|
||||||
"use_asset_handles": true
|
|
||||||
},
|
|
||||||
"ValidateContainers": {
|
"ValidateContainers": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"optional": true,
|
"optional": true,
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,10 @@
|
||||||
"key": "CreateKarmaROP",
|
"key": "CreateKarmaROP",
|
||||||
"label": "Create Karma ROP"
|
"label": "Create Karma ROP"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"key": "CreateMantraIFD",
|
||||||
|
"label": "Create Mantra IFD"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"key": "CreateMantraROP",
|
"key": "CreateMantraROP",
|
||||||
"label": "Create Mantra ROP"
|
"label": "Create Mantra ROP"
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,31 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "dict",
|
||||||
|
"collapsible": true,
|
||||||
|
"checkbox_key": "enabled",
|
||||||
|
"key": "CollectChunkSize",
|
||||||
|
"label": "Collect Chunk Size",
|
||||||
|
"is_group": true,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"type": "boolean",
|
||||||
|
"key": "enabled",
|
||||||
|
"label": "Enabled"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "boolean",
|
||||||
|
"key": "optional",
|
||||||
|
"label": "Optional"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "number",
|
||||||
|
"key": "chunk_size",
|
||||||
|
"label": "Frames Per Task"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "label",
|
"type": "label",
|
||||||
"label": "Validators"
|
"label": "Validators"
|
||||||
|
|
@ -55,31 +80,6 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "dict",
|
|
||||||
"collapsible": true,
|
|
||||||
"checkbox_key": "enabled",
|
|
||||||
"key": "CollectChunkSize",
|
|
||||||
"label": "Collect Chunk Size",
|
|
||||||
"is_group": true,
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"type": "boolean",
|
|
||||||
"key": "enabled",
|
|
||||||
"label": "Enabled"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "boolean",
|
|
||||||
"key": "optional",
|
|
||||||
"label": "Optional"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "number",
|
|
||||||
"key": "chunk_size",
|
|
||||||
"label": "Frames Per Task"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "dict",
|
"type": "dict",
|
||||||
"collapsible": true,
|
"collapsible": true,
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,9 @@ class CreatePluginsModel(BaseSettingsModel):
|
||||||
CreateKarmaROP: CreatorModel = Field(
|
CreateKarmaROP: CreatorModel = Field(
|
||||||
default_factory=CreatorModel,
|
default_factory=CreatorModel,
|
||||||
title="Create Karma ROP")
|
title="Create Karma ROP")
|
||||||
|
CreateMantraIFD: CreatorModel = Field(
|
||||||
|
default_factory=CreatorModel,
|
||||||
|
title="Create Mantra IFD")
|
||||||
CreateMantraROP: CreatorModel = Field(
|
CreateMantraROP: CreatorModel = Field(
|
||||||
default_factory=CreatorModel,
|
default_factory=CreatorModel,
|
||||||
title="Create Mantra ROP")
|
title="Create Mantra ROP")
|
||||||
|
|
@ -114,6 +117,10 @@ DEFAULT_HOUDINI_CREATE_SETTINGS = {
|
||||||
"enabled": True,
|
"enabled": True,
|
||||||
"default_variants": ["Main"]
|
"default_variants": ["Main"]
|
||||||
},
|
},
|
||||||
|
"CreateMantraIFD": {
|
||||||
|
"enabled": True,
|
||||||
|
"default_variants": ["Main"]
|
||||||
|
},
|
||||||
"CreateMantraROP": {
|
"CreateMantraROP": {
|
||||||
"enabled": True,
|
"enabled": True,
|
||||||
"default_variants": ["Main"]
|
"default_variants": ["Main"]
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,14 @@ class CollectAssetHandlesModel(BaseSettingsModel):
|
||||||
title="Use asset handles")
|
title="Use asset handles")
|
||||||
|
|
||||||
|
|
||||||
|
class CollectChunkSizeModel(BaseSettingsModel):
|
||||||
|
"""Collect Chunk Size."""
|
||||||
|
enabled: bool = Field(title="Enabled")
|
||||||
|
optional: bool = Field(title="Optional")
|
||||||
|
chunk_size: int = Field(
|
||||||
|
title="Frames Per Task")
|
||||||
|
|
||||||
|
|
||||||
class ValidateWorkfilePathsModel(BaseSettingsModel):
|
class ValidateWorkfilePathsModel(BaseSettingsModel):
|
||||||
enabled: bool = Field(title="Enabled")
|
enabled: bool = Field(title="Enabled")
|
||||||
optional: bool = Field(title="Optional")
|
optional: bool = Field(title="Optional")
|
||||||
|
|
@ -38,6 +46,10 @@ class PublishPluginsModel(BaseSettingsModel):
|
||||||
title="Collect Asset Handles.",
|
title="Collect Asset Handles.",
|
||||||
section="Collectors"
|
section="Collectors"
|
||||||
)
|
)
|
||||||
|
CollectChunkSize: CollectChunkSizeModel = Field(
|
||||||
|
default_factory=CollectChunkSizeModel,
|
||||||
|
title="Collect Chunk Size."
|
||||||
|
)
|
||||||
ValidateContainers: BasicValidateModel = Field(
|
ValidateContainers: BasicValidateModel = Field(
|
||||||
default_factory=BasicValidateModel,
|
default_factory=BasicValidateModel,
|
||||||
title="Validate Latest Containers.",
|
title="Validate Latest Containers.",
|
||||||
|
|
@ -63,6 +75,11 @@ DEFAULT_HOUDINI_PUBLISH_SETTINGS = {
|
||||||
"CollectAssetHandles": {
|
"CollectAssetHandles": {
|
||||||
"use_asset_handles": True
|
"use_asset_handles": True
|
||||||
},
|
},
|
||||||
|
"CollectChunkSize" : {
|
||||||
|
"enabled": True,
|
||||||
|
"optional": True,
|
||||||
|
"chunk_size": 999999
|
||||||
|
},
|
||||||
"ValidateContainers": {
|
"ValidateContainers": {
|
||||||
"enabled": True,
|
"enabled": True,
|
||||||
"optional": True,
|
"optional": True,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue