2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 02:27:42 +00:00

Added blender project patching system

This commit is contained in:
Jack Andersen
2015-09-15 16:31:17 -10:00
parent 7a27efa88b
commit 432924ccd5
5 changed files with 139 additions and 1 deletions

View File

@@ -132,6 +132,7 @@ while True:
bpy.ops.wm.read_homefile()
bpy.context.user_preferences.filepaths.save_version = 0
if 'FINISHED' in bpy.ops.wm.save_as_mainfile(filepath=cmdargs[1]):
bpy.ops.file.hecl_patching_load()
writepipeline(b'FINISHED')
else:
writepipeline(b'CANCELLED')