Skip to content

Commit

Permalink
Denoiser: pipe stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
howetuft committed Dec 14, 2024
1 parent 55fd686 commit 6f47d21
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion draw/viewport.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,11 @@ def start_denoiser(self, luxcore_session):
"-nrm", self._normal_file_path,
"-o", self._denoised_file_path,
]
self._denoiser_process = subprocess.Popen(args)
self._denoiser_process = subprocess.Popen(
args,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
)

def is_denoiser_active(self):
return self._denoiser_process is not None
Expand Down

0 comments on commit 6f47d21

Please sign in to comment.