From 224e6348b63c606ddeb9e4e21437caea308bdf87 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sat, 8 Aug 2015 15:43:27 -0700 Subject: [PATCH] Reset scene before creating a new blend, reducing overall filesize --- hecl/blender/blendershell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hecl/blender/blendershell.py b/hecl/blender/blendershell.py index bfad62942..2d4a56ee4 100644 --- a/hecl/blender/blendershell.py +++ b/hecl/blender/blendershell.py @@ -81,6 +81,7 @@ while True: writepipeline(b'CANCELLED') elif cmdargs[0] == 'CREATE': + 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')