Skip to content

Commit

Permalink
allow to set_output even if the script isn't executed in vspreview (#209
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Ichunjo authored Oct 8, 2024
1 parent d54d476 commit c1d7d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vspreview/api/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def set_output(
timecodes: TimecodesT = None, denominator: int = 1001, scenes: ScenesT = None,
**kwargs: Any
) -> None:
if not is_preview():
if not is_preview() and not kwargs.get("force_preview", False):
return None

if isinstance(index_or_name, (str, bool)):
Expand Down

0 comments on commit c1d7d72

Please sign in to comment.