mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
style fix
This commit is contained in:
parent
13264ea11c
commit
f3b1002f26
3 changed files with 5 additions and 5 deletions
|
|
@ -138,7 +138,7 @@ def get_default_render_folder(project_setting=None):
|
|||
["default_render_image_folder"])
|
||||
|
||||
|
||||
def set_framerange(start_frame, end_frame):
|
||||
def set_render_frame_range(start_frame, end_frame):
|
||||
"""
|
||||
Note:
|
||||
Frame range can be specified in different types. Possible values are:
|
||||
|
|
@ -243,7 +243,7 @@ def reset_frame_range(fps: bool = True):
|
|||
frame_end = frame_range["frameEnd"] + int(frame_range["handleEnd"])
|
||||
frange_cmd = f"animationRange = interval {frame_start} {frame_end}"
|
||||
rt.execute(frange_cmd)
|
||||
set_framerange(frame_start, frame_end)
|
||||
set_render_frame_range(frame_start, frame_end)
|
||||
|
||||
|
||||
def set_context_setting():
|
||||
|
|
|
|||
|
|
@ -47,13 +47,13 @@ class ValidateFrameRange(pyblish.api.InstancePlugin,
|
|||
if frame_start != inst_frame_start:
|
||||
raise PublishValidationError(
|
||||
"startFrame on instance does not match"
|
||||
" with startFrame from the context data"
|
||||
" with startFrame from the context data."
|
||||
" You can use repair action to fix it")
|
||||
|
||||
if frame_end != inst_frame_end:
|
||||
raise PublishValidationError(
|
||||
"endFrame on instance does not match"
|
||||
" with endFrame from the context data"
|
||||
" with endFrame from the context data."
|
||||
" You can use repair action to fix it")
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ class ValidateFrameRangeType(pyblish.api.InstancePlugin):
|
|||
def process(self, instance):
|
||||
if rt.rendTimeType != 3:
|
||||
raise PublishValidationError("Incorrect type of frame range"
|
||||
" used in render setting.."
|
||||
" used in render setting."
|
||||
"Repair action can help to fix it.")
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue