Skip to content

Commit 8fd7244

Browse files
committed
Fix output folder not created
1 parent f1d2158 commit 8fd7244

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

rct-graphics-helper/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"name": "RCT Graphics Helper",
2424
"description": "Render tool to replicate RCT graphics",
2525
"author": "Olivier Wervers",
26-
"version": (0, 4, 0),
26+
"version": (0, 4, 1),
2727
"blender": (2, 79, 0),
2828
"location": "Render",
2929
"support": "COMMUNITY",

rct-graphics-helper/processors/sub_processes/sprite_processor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ def finalize(task_process_context):
6060
if callback != None:
6161
callback()
6262

63+
if not os.path.exists(master_context.task.get_output_folder()):
64+
os.mkdir(master_context.task.get_output_folder())
65+
6366
if not os.path.exists(os.path.join(master_context.task.get_output_folder(), "sprites")):
6467
os.mkdir(os.path.join(
6568
master_context.task.get_output_folder(), "sprites"))

0 commit comments

Comments
 (0)