From 7b49220ee9a9dd44daa9bbeaaf657926810ce8cf Mon Sep 17 00:00:00 2001 From: Colombo Date: Mon, 20 Apr 2020 18:40:12 +0400 Subject: [PATCH] fix --- XSegEditor/XSegEditor.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/XSegEditor/XSegEditor.py b/XSegEditor/XSegEditor.py index d40f4dc..0e06b10 100644 --- a/XSegEditor/XSegEditor.py +++ b/XSegEditor/XSegEditor.py @@ -1141,7 +1141,10 @@ class LoaderQSubprocessor(QSubprocessor): class MainWindow(QXMainWindow): def __init__(self, input_dirpath, cfg_root_path): + self.loading_frame = None + super().__init__() + self.input_dirpath = input_dirpath self.cfg_root_path = cfg_root_path @@ -1367,7 +1370,7 @@ def start(input_dirpath): returns exit_code """ io.log_info("Running XSeg editor.") - + if PackedFaceset.path_contains(input_dirpath): io.log_info (f'\n{input_dirpath} contains packed faceset! Unpack it first.\n') return 1