[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1853] contrib/py/scripts/addons/ texpaint_ui.py: saving images now sets to premultiply so they render correctly

michael williamson michaelw at cowtoolsmedia.co.uk
Wed Apr 20 13:13:14 CEST 2011


Revision: 1853
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1853
Author:   michaelw
Date:     2011-04-20 11:13:14 +0000 (Wed, 20 Apr 2011)
Log Message:
-----------
saving images now sets to premultiply so they render correctly

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 08:17:14 UTC (rev 1852)
+++ contrib/py/scripts/addons/texpaint_ui.py	2011-04-20 11:13:14 UTC (rev 1853)
@@ -577,6 +577,7 @@
                         else:
                             i.filepath = fp
                         i.name = name
+                        i.use_premultiply = True
                     except:
                         print("something wrong with", fp)
 



More information about the Bf-extensions-cvs mailing list