Stop live mode the preview window is closed

This commit is contained in:
Gianfranco Palumbo
2024-08-14 17:52:42 +02:00
parent 080d6f5110
commit 99214c7ab1
2 changed files with 10 additions and 8 deletions

View File

@@ -74,7 +74,7 @@ def parse_args() -> None:
modules.globals.fp_ui['face_enhancer'] = True
else:
modules.globals.fp_ui['face_enhancer'] = False
modules.globals.nsfw = False
# translate deprecated args
@@ -165,7 +165,6 @@ def update_status(message: str, scope: str = 'DLC.CORE') -> None:
if not modules.globals.headless:
ui.update_status(message)
def start() -> None:
for frame_processor in get_frame_processors_modules(modules.globals.frame_processors):
if not frame_processor.pre_start():