fix of converter when using relighted faces in dst

This commit is contained in:
Colombo 2019-11-12 17:37:13 +04:00
parent 4868bd1324
commit 2167c5cbcb
4 changed files with 16 additions and 2 deletions

View file

@ -687,7 +687,13 @@ def main (args, device_args):
io.log_err ("%s is not a dfl image file" % (filepath.name) )
continue
source_filename_stem = Path( dflimg.get_source_filename() ).stem
source_filename = dflimg.get_source_filename()
if source_filename is None or source_filename == "_":
continue
source_filename = Path(source_filename)
source_filename_stem = source_filename.stem
if source_filename_stem not in alignments.keys():
alignments[ source_filename_stem ] = []