Merge remote-tracking branch 'origin/develop' into feature/OP-2795_maya-to-unreal-skeletal-meshes

This commit is contained in:
Ondřej Samohel 2022-03-21 17:35:48 +01:00
commit e67ac0cda1
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
376 changed files with 9446 additions and 3658 deletions

View file

@ -46,7 +46,7 @@
"enabled": true,
"optional": false,
"active": true,
"tile_assembler_plugin": "oiio",
"tile_assembler_plugin": "OpenPypeTileAssembler",
"use_published": true,
"asset_dependencies": true,
"group": "none",

View file

@ -27,6 +27,8 @@
"ext": "exr",
"xml_preset_file": "OpenEXR (16-bit fp DWAA).xml",
"xml_preset_dir": "",
"export_type": "File Sequence",
"ignore_comment_attrs": false,
"colorspace_out": "ACES - ACEScg",
"representation_add_range": true,
"representation_tags": []

View file

@ -193,6 +193,11 @@
"Administrator"
]
},
"fill_workfile_attribute": {
"enabled": false,
"custom_attribute_key": "",
"role_list": []
},
"seed_project": {
"enabled": true,
"role_list": [

View file

@ -87,7 +87,8 @@
"render",
"review",
"ftrack"
]
],
"subsets": []
},
"overscan_crop": "",
"overscan_color": [
@ -107,7 +108,6 @@
"letter_box": {
"enabled": false,
"ratio": 0.0,
"state": "letterbox",
"fill_color": [
0,
0,

View file

@ -390,6 +390,10 @@
"optional": true,
"active": true
},
"ValidateRigOutSetNodeIds": {
"enabled": true,
"allow_history_only": false
},
"ValidateCameraAttributes": {
"enabled": false,
"optional": true,
@ -507,6 +511,12 @@
}
}
},
"ExtractMayaSceneRaw": {
"enabled": true,
"add_for_families": [
"layout"
]
},
"ExtractCameraAlembic": {
"enabled": true,
"optional": true,

View file

@ -116,13 +116,42 @@
"baking": {
"filter": {
"task_types": [],
"families": []
"families": [],
"sebsets": []
},
"extension": "mov",
"viewer_process_override": "",
"bake_viewer_process": true,
"bake_viewer_input_process": true,
"add_tags": []
"add_tags": [],
"reformat_node_add": false,
"reformat_node_config": [
{
"type": "string",
"name": "type",
"value": "to format"
},
{
"type": "string",
"name": "format",
"value": "HD_1080"
},
{
"type": "string",
"name": "filter",
"value": "Lanczos6"
},
{
"type": "bool",
"name": "black_outside",
"value": true
},
{
"type": "bool",
"name": "pbb",
"value": false
}
]
}
}
},

View file

@ -28,6 +28,10 @@ class BaseEntity:
def __init__(self, schema_data, *args, **kwargs):
self.schema_data = schema_data
tooltip = None
if schema_data:
tooltip = schema_data.get("tooltip")
self.tooltip = tooltip
# Entity id
self._id = uuid4()

View file

@ -584,8 +584,9 @@ class DictConditionalEntity(ItemEntity):
self.enum_entity.update_default_value(enum_value)
for children_by_key in self.non_gui_children.values():
value_copy = copy.deepcopy(value)
for key, child_obj in children_by_key.items():
child_value = value.get(key, NOT_SET)
child_value = value_copy.get(key, NOT_SET)
child_obj.update_default_value(child_value)
def update_studio_value(self, value):
@ -620,8 +621,9 @@ class DictConditionalEntity(ItemEntity):
self.enum_entity.update_studio_value(enum_value)
for children_by_key in self.non_gui_children.values():
value_copy = copy.deepcopy(value)
for key, child_obj in children_by_key.items():
child_value = value.get(key, NOT_SET)
child_value = value_copy.get(key, NOT_SET)
child_obj.update_studio_value(child_value)
def update_project_value(self, value):
@ -656,8 +658,9 @@ class DictConditionalEntity(ItemEntity):
self.enum_entity.update_project_value(enum_value)
for children_by_key in self.non_gui_children.values():
value_copy = copy.deepcopy(value)
for key, child_obj in children_by_key.items():
child_value = value.get(key, NOT_SET)
child_value = value_copy.get(key, NOT_SET)
child_obj.update_project_value(child_value)
def _discard_changes(self, on_change_trigger):

View file

@ -14,6 +14,7 @@
- this keys is not allowed for all inputs as they may have not reason for that
- key is validated, can be only once in hierarchy but is not required
- currently there are `system settings` and `project settings`
- all entities can have set `"tooltip"` key with description which will be shown in UI
## Inner schema
- GUI schemas are huge json files, to be able to split whole configuration into multiple schema there's type `schema`

View file

@ -103,7 +103,7 @@
"DraftTileAssembler": "Draft Tile Assembler"
},
{
"oiio": "Open Image IO"
"OpenPypeTileAssembler": "Open Image IO"
}
]
},

View file

@ -171,6 +171,35 @@
"label": "XML preset folder (optional)",
"type": "text"
},
{
"key": "export_type",
"label": "Eport clip type",
"type": "enum",
"default": "File Sequence",
"enum_items": [
{
"Movie": "Movie"
},
{
"File Sequence": "File Sequence"
},
{
"Sequence Publish": "Sequence Publish"
}
]
},
{
"type": "separator"
},
{
"type": "boolean",
"key": "ignore_comment_attrs",
"label": "Ignore attributes parsed from a segment comments"
},
{
"type": "separator"
},
{
"key": "colorspace_out",
"label": "Output color (imageio)",

View file

@ -589,6 +589,34 @@
}
]
},
{
"type": "dict",
"key": "fill_workfile_attribute",
"label": "Fill workfile Custom attribute",
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "label",
"label": "Custom attribute must be <b>Text</b> type added to <b>Task</b> entity type"
},
{
"type": "text",
"key": "custom_attribute_key",
"label": "Custom attribute key"
},
{
"type": "list",
"key": "role_list",
"label": "Roles",
"object_type": "text"
}
]
},
{
"type": "dict",
"key": "seed_project",

View file

@ -195,6 +195,9 @@
{
"aces_1.1": "aces_1.1"
},
{
"aces_1.2": "aces_1.2"
},
{
"custom": "custom"
}
@ -457,7 +460,7 @@
{
"type": "text",
"key": "colourPolicy",
"label": "Colour Policy"
"label": "Colour Policy (name or path)"
},
{
"type": "text",

View file

@ -291,6 +291,15 @@
"label": "Families",
"type": "list",
"object_type": "text"
},
{
"type": "separator"
},
{
"key": "subsets",
"label": "Subsets",
"type": "list",
"object_type": "text"
}
]
},
@ -366,19 +375,6 @@
"minimum": 0,
"maximum": 10000
},
{
"key": "state",
"label": "Type",
"type": "enum",
"enum_items": [
{
"letterbox": "Letterbox"
},
{
"pillar": "Pillar"
}
]
},
{
"type": "color",
"label": "Fill Color",

View file

@ -514,6 +514,26 @@
"label": "Validate Rig Controllers"
}
]
},
{
"type": "dict",
"collapsible": true,
"checkbox_key": "enabled",
"key": "ValidateRigOutSetNodeIds",
"label": "Validate Rig Out Set Node Ids",
"is_group": true,
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "boolean",
"key": "allow_history_only",
"label": "Allow history only"
}
]
}
]
},
@ -547,6 +567,30 @@
"type": "schema",
"name": "schema_maya_capture"
},
{
"type": "dict",
"collapsible": true,
"key": "ExtractMayaSceneRaw",
"label": "Maya Scene (Raw)",
"checkbox_key": "enabled",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "label",
"label": "Add loaded instances to those published families:"
},
{
"key": "add_for_families",
"label": "Families",
"type": "list",
"object_type": "text"
}
]
},
{
"type": "dict",
"collapsible": true,

View file

@ -195,6 +195,12 @@
"label": "Families",
"type": "list",
"object_type": "text"
},
{
"key": "sebsets",
"label": "Subsets",
"type": "list",
"object_type": "text"
}
]
},
@ -226,6 +232,121 @@
"label": "Add additional tags to representations",
"type": "list",
"object_type": "text"
},
{
"type": "separator"
},
{
"type": "boolean",
"key": "reformat_node_add",
"label": "Add Reformat Node",
"default": false
},
{
"type": "collapsible-wrap",
"label": "Reformat Node Knobs",
"collapsible": true,
"collapsed": false,
"children": [
{
"type": "list",
"key": "reformat_node_config",
"object_type": {
"type": "dict-conditional",
"enum_key": "type",
"enum_label": "Type",
"enum_children": [
{
"key": "string",
"label": "String",
"children": [
{
"type": "text",
"key": "name",
"label": "Name"
},
{
"type": "text",
"key": "value",
"label": "Value"
}
]
},
{
"key": "bool",
"label": "Boolean",
"children": [
{
"type": "text",
"key": "name",
"label": "Name"
},
{
"type": "boolean",
"key": "value",
"label": "Value"
}
]
},
{
"key": "number",
"label": "Number",
"children": [
{
"type": "text",
"key": "name",
"label": "Name"
},
{
"type": "list-strict",
"key": "value",
"label": "Value",
"object_types": [
{
"type": "number",
"key": "number",
"default": 1,
"decimal": 4
}
]
}
]
},
{
"key": "list_numbers",
"label": "2 Numbers",
"children": [
{
"type": "text",
"key": "name",
"label": "Name"
},
{
"type": "list-strict",
"key": "value",
"label": "Value",
"object_types": [
{
"type": "number",
"key": "x",
"default": 1,
"decimal": 4
},
{
"type": "number",
"key": "y",
"default": 1,
"decimal": 4
}
]
}
]
}
]
}
}
]
}
]
}