mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-08-06 13:35:39 +00:00
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…
x
Reference in New Issue
Block a user