[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1855] contrib/py/scripts/addons/ texpaint_ui.py: save paint layers now also saves all modified images instead of just the generated ones
michael williamson
michaelw at cowtoolsmedia.co.uk
Wed Apr 20 16:58:19 CEST 2011
Revision: 1855
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1855
Author: michaelw
Date: 2011-04-20 14:58:18 +0000 (Wed, 20 Apr 2011)
Log Message:
-----------
save paint layers now also saves all modified images instead of just the generated ones
Modified Paths:
--------------
contrib/py/scripts/addons/texpaint_ui.py
Modified: contrib/py/scripts/addons/texpaint_ui.py
===================================================================
--- contrib/py/scripts/addons/texpaint_ui.py 2011-04-20 14:19:12 UTC (rev 1854)
+++ contrib/py/scripts/addons/texpaint_ui.py 2011-04-20 14:58:18 UTC (rev 1855)
@@ -580,6 +580,9 @@
i.use_premultiply = True
except:
print("something wrong with", fp)
+ #THAT'S THE GENERATED FILES saved, pathed and reloaded
+ #now save other painted textures
+ bpy.ops.image.save_dirty()
More information about the Bf-extensions-cvs
mailing list