Skip to content

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 Apr 18, 2023
1 parent 155a0c2 commit 19836b3
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 @@ -2227,7 +2227,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 @@ -47,7 +47,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 @@ -154,13 +154,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 19836b3

Please sign in to comment.