Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
change key and label to make the setting more understandable
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Fricard committed May 24, 2023
1 parent bdcdab2 commit 8c0c60d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion openpype/hosts/maya/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -2277,7 +2277,7 @@ def reset_frame_range(playback=True, render=True, fps=True):
# Update animation instances attributes if enabled in settings
project_name = get_current_project_name()
settings = get_project_settings(project_name)
if settings["maya"]["update_instances"]["enabled"]:
if settings["maya"]["update_publishable_frame_range"]["enabled"]:
instances = cmds.ls(
"*.id",
long=True,
Expand Down
2 changes: 1 addition & 1 deletion openpype/settings/defaults/project_settings/maya.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
"destination-path": []
}
},
"update_instances": {
"update_publishable_frame_range": {
"enabled": false
},
"scriptsmenu": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,13 @@
{
"type": "dict",
"collapsible": true,
"key": "update_instances",
"label": "Update animation instances on Reset Frame Range",
"key": "update_publishable_frame_range",
"label": "Update publishable instances on Reset Frame Range",
"checkbox_key": "enabled",
"children": [
{
"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"
"label": "If enabled, the frame range and the handles of all the publishable instances will be updated when using the 'Reset Frame Range' functionality"
},
{
"type": "boolean",
Expand Down

0 comments on commit 8c0c60d

Please sign in to comment.