This commit is contained in:
Jack Andersen 2015-08-08 13:34:44 -10:00
commit 44a804e2c4
1 changed files with 1 additions and 0 deletions

View File

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