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

Commit

Permalink
Merge pull request #4101 from pypeclub/feature/allow_higher_numbers
Browse files Browse the repository at this point in the history
General: Allow higher numbers in frames and clips
  • Loading branch information
iLLiCiTiT authored Nov 18, 2022
2 parents b2e0cd8 + 8c6abf1 commit 728347c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,26 @@
{
"type": "number",
"key": "frameStart",
"label": "Frame Start"
"label": "Frame Start",
"maximum": 999999999
},
{
"type": "number",
"key": "frameEnd",
"label": "Frame End"
"label": "Frame End",
"maximum": 999999999
},
{
"type": "number",
"key": "clipIn",
"label": "Clip In"
"label": "Clip In",
"maximum": 999999999
},
{
"type": "number",
"key": "clipOut",
"label": "Clip Out"
"label": "Clip Out",
"maximum": 999999999
},
{
"type": "number",
Expand Down
2 changes: 1 addition & 1 deletion openpype/tools/project_manager/project_manager/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class NameDef:
class NumberDef:
def __init__(self, minimum=None, maximum=None, decimals=None):
self.minimum = 0 if minimum is None else minimum
self.maximum = 999999 if maximum is None else maximum
self.maximum = 999999999 if maximum is None else maximum
self.decimals = 0 if decimals is None else decimals


Expand Down
1 change: 0 additions & 1 deletion openpype/tools/settings/settings/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

"SETTINGS_PATH_KEY",
"ROOT_KEY",
"SETTINGS_PATH_KEY",
"VALUE_KEY",
"SAVE_TIME_KEY",
"PROJECT_NAME_KEY",
Expand Down

0 comments on commit 728347c

Please sign in to comment.