[Bf-extensions-cvs] [10ebd1e5] blender2.8: Auto Save Render: Adjusted naming of blend file save

florianfelix noreply at git.blender.org
Thu Oct 11 21:34:59 CEST 2018


Commit: 10ebd1e553b16e599b51b8f1afcfee764365be26
Author: florianfelix
Date:   Thu Oct 11 21:34:13 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBAC10ebd1e553b16e599b51b8f1afcfee764365be26

Auto Save Render: Adjusted naming of blend file save

===================================================================

M	render_auto_save.py

===================================================================

diff --git a/render_auto_save.py b/render_auto_save.py
index 79487e91..f83af47f 100644
--- a/render_auto_save.py
+++ b/render_auto_save.py
@@ -148,8 +148,7 @@ def auto_save_render(scene):
     image.save_render(save_name, scene=None)
 
     if scene.auto_save_blend:
-        save_name_blend = join(filepath, blendname) + '_' + \
-            str(highest+1).zfill(3) + '.blend'
+        save_name_blend = join(filepath, save_name) + '.blend'
         print('Blend_Save:', save_name_blend)
         bpy.ops.wm.save_as_mainfile(filepath=save_name_blend, copy=True)



More information about the Bf-extensions-cvs mailing list