mirror of https://github.com/AxioDL/metaforce.git
Reset scene before creating a new blend, reducing overall filesize
This commit is contained in:
parent
99765b60ff
commit
224e6348b6
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue