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

Added hecl_startup.blend

This commit is contained in:
Jack Andersen
2015-09-06 10:08:23 -10:00
parent fec49c542e
commit 7c31740dbb
5 changed files with 36 additions and 9 deletions

View File

@@ -126,7 +126,10 @@ while True:
writepipeline(b'CANCELLED')
elif cmdargs[0] == 'CREATE':
bpy.ops.wm.read_homefile()
if len(cmdargs) >= 3:
bpy.ops.wm.open_mainfile(filepath=cmdargs[2])
else:
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]):
writepipeline(b'FINISHED')