summaryrefslogtreecommitdiffstats
path: root/Scripts/libunity.py
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2022-12-20 00:26:50 -0800
committeryum <yum.food.vr@gmail.com>2022-12-20 00:28:46 -0800
commit8d225cfd66dfb60998b4eab43d8aa3b287375695 (patch)
treea298f7799fcc80085d568996a837367f9d16fe55 /Scripts/libunity.py
parent4f3da107d4379f99ec7ade8be26bfcf908fb193f (diff)
GUI: Begin work generating animator
The GUI can now generate guid.map and animations.
Diffstat (limited to 'Scripts/libunity.py')
-rw-r--r--Scripts/libunity.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Scripts/libunity.py b/Scripts/libunity.py
index f9e9e28..7223568 100644
--- a/Scripts/libunity.py
+++ b/Scripts/libunity.py
@@ -1259,6 +1259,10 @@ if __name__ == "__main__":
print("Looking up GUIDs under {}".format(args.project_root),
file=sys.stderr)
guid_map = getGuidMap(args.project_root)
+
+ save_to_dir = os.path.dirname(args.save_to)
+ os.makedirs(save_to_dir, exist_ok=True)
+
if args.guid_map_append:
tmp_map = {}
with open(args.save_to, "rb") as f: