2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 11:47:43 +00:00

Add ResourceLock for detecting parallel resource collisions

This commit is contained in:
Jack Andersen
2016-08-11 16:33:03 -10:00
parent 48a4a51853
commit 719c62f09f
5 changed files with 60 additions and 1 deletions

View File

@@ -370,6 +370,7 @@ try:
elif cmdargs[0] == 'SAVE':
bpy.context.user_preferences.filepaths.save_version = 0
print('SAVING %s' % loaded_blend)
if loaded_blend:
if 'FINISHED' in bpy.ops.wm.save_as_mainfile(filepath=loaded_blend, check_existing=False, compress=True):
writepipeline(b'FINISHED')