Upload files to 'studio'

This commit is contained in:
Jeison Yehuda Amihud (Blender Dumbass) 2022-09-19 16:17:25 +00:00
parent bcfbf8ca93
commit 7a81c17415

View file

@ -2407,8 +2407,13 @@ def layer(win):
at_least_one_missing = False at_least_one_missing = False
list_of_folders_to_generate = ["storyboard", "opengl", "test_rnd", "rendered", "extra"] list_of_folders_to_generate = ["storyboard", "opengl", "test_rnd", "rendered", "extra"]
files_there = []
try:
files_there = os.listdir(win.project+"/rnd"+win.cur)
except:
pass
for i in list_of_folders_to_generate: for i in list_of_folders_to_generate:
if i not in os.listdir(win.project+"/rnd"+win.cur): if i not in files_there:
at_least_one_missing = True at_least_one_missing = True
if at_least_one_missing: if at_least_one_missing: