Skip to content

Commit 937b18f

Browse files
committed
urcheon/texset: fix sloth file listing
1 parent 598d912 commit 937b18f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Urcheon/Texset.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,9 @@ def walk(self):
356356
for texture_source_dir in self.texture_source_dir_list:
357357
sloth_list = []
358358

359-
for dir_name, subdir_name_list, file_name_list in os.walk(texture_source_dir):
359+
texture_source_dir_fullpath = os.path.join(self.source_dir, texture_source_dir)
360+
361+
for dir_name, subdir_name_list, file_name_list in os.walk(texture_source_dir_fullpath):
360362
dir_relpath = os.path.relpath(dir_name, self.source_dir)
361363

362364
logging.debug("dir_name: " + dir_name + ", subdir_name_list: " + str(subdir_name_list) + ", file_name_list: " + str(file_name_list))

0 commit comments

Comments
 (0)