[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1252] branches/ io_import_gimp_to_3d_layers.py: GIMPto3DLayers: Tweak to alpha layer naming
Daniel Salazar
zanqdo at gmail.com
Tue Dec 7 23:28:23 CET 2010
Revision: 1252
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=1252
Author: zanqdo
Date: 2010-12-07 23:28:23 +0100 (Tue, 07 Dec 2010)
Log Message:
-----------
GIMPto3DLayers: Tweak to alpha layer naming
Modified Paths:
--------------
branches/io_import_gimp_to_3d_layers.py
Modified: branches/io_import_gimp_to_3d_layers.py
===================================================================
--- branches/io_import_gimp_to_3d_layers.py 2010-12-07 22:13:23 UTC (rev 1251)
+++ branches/io_import_gimp_to_3d_layers.py 2010-12-07 22:28:23 UTC (rev 1252)
@@ -376,7 +376,7 @@
Tex.use_preview_alpha = True
Tex.use_alpha = False
- Img = bpy.data.images.new(NameShort)
+ Img = bpy.data.images.new(NameShort+'_A')
Img.source = 'FILE'
if PremulAlpha: Img.use_premultiply = True
Img.filepath = '%s%s_A%s' % (PathSaveRaw, Name, ExtSave)
More information about the Bf-extensions-cvs
mailing list