Upload files to 'studio'
This commit is contained in:
parent
185e3c177d
commit
87800390e7
2 changed files with 8 additions and 1 deletions
|
@ -454,6 +454,12 @@ def get_legacy(project_location):
|
||||||
|
|
||||||
else:
|
else:
|
||||||
part = part + letter
|
part = part + letter
|
||||||
|
|
||||||
|
# LAST PART (WHY DIDN'T I THINK ABOUT ERLIER OMG)
|
||||||
|
textblock.append([
|
||||||
|
"text", part[skip:]
|
||||||
|
])
|
||||||
|
|
||||||
if shot[0] == "shot_block":
|
if shot[0] == "shot_block":
|
||||||
data["scenes"][scenename]["shots"][shotnum][2] = textblock
|
data["scenes"][scenename]["shots"][shotnum][2] = textblock
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -324,7 +324,8 @@ def layer(win, call):
|
||||||
|
|
||||||
if win.text["asset_select_search"]["text"]\
|
if win.text["asset_select_search"]["text"]\
|
||||||
and newcreate\
|
and newcreate\
|
||||||
not in os.listdir(win.project+"/dev/"+win.current["asset_cur"]):
|
not in os.listdir(win.project+"/dev/"+win.current["asset_cur"])\
|
||||||
|
and newcreate not in "chr veh loc obj": #Avoiding potential mistakes
|
||||||
|
|
||||||
# If there is a seach and there is no asset with the search name. It
|
# If there is a seach and there is no asset with the search name. It
|
||||||
# will ask if you want to create such an asset.
|
# will ask if you want to create such an asset.
|
||||||
|
|
Loading…
Reference in a new issue