Skip to content

Commit

Permalink
add a setting in maya project settings to enable updating animation i…
Browse files Browse the repository at this point in the history
…nstances
  • Loading branch information
Thomas Fricard committed May 24, 2023
1 parent 981c0b1 commit cd884e8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 24 deletions.
3 changes: 3 additions & 0 deletions openpype/settings/defaults/project_settings/maya.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,9 @@
"destination-path": []
}
},
"update_instances": {
"enabled": false
},
"scriptsmenu": {
"name": "OpenPype Tools",
"definition": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,35 +188,19 @@
},
{
"type": "dict",
"key": "include_handles",
"collapsible": true,
"label": "Include/Exclude Handles in default playback & render range",
"key": "update_instances",
"label": "Update animation instances on Reset Frame Range",
"checkbox_key": "enabled",
"children": [
{
"key": "include_handles_default",
"label": "Include handles by default",
"type": "boolean"
"type": "label",
"label": "If enabled, the frame range and the handles of all the animation instances will be updated when using the 'Reset Frange Range' functionality"
},
{
"type": "list",
"key": "per_task_type",
"label": "Include/exclude handles by task type",
"use_label_wrap": true,
"object_type": {
"type": "dict",
"children": [
{
"type": "task-types-enum",
"key": "task_type",
"label": "Task types"
},
{
"type": "boolean",
"key": "include_handles",
"label": "Include handles"
}
]
}
"type": "boolean",
"key": "enabled",
"label": "Enabled"
}
]
},
Expand Down

0 comments on commit cd884e8

Please sign in to comment.