[Bf-extensions-cvs] [d0679688] master: Update for film transparency changes

Brecht Van Lommel noreply at git.blender.org
Thu May 16 17:40:36 CEST 2019


Commit: d067968831e4b169a84c0c6bab4979f256f2b024
Author: Brecht Van Lommel
Date:   Thu May 16 17:29:43 2019 +0200
Branches: master
https://developer.blender.org/rBAd067968831e4b169a84c0c6bab4979f256f2b024

Update for film transparency changes

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

M	io_import_gimp_image_to_scene.py

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

diff --git a/io_import_gimp_image_to_scene.py b/io_import_gimp_image_to_scene.py
index d4ed8f3b..cbf881f9 100644
--- a/io_import_gimp_image_to_scene.py
+++ b/io_import_gimp_image_to_scene.py
@@ -243,7 +243,7 @@ def main(report, File, Path, LayerViewers, MixerViewers, LayerOffset,
         Render.resolution_x = ResX
         Render.resolution_y = ResY
         Render.resolution_percentage = 100
-    Render.alpha_mode = 'TRANSPARENT'
+    Render.film_transparent = True
 
     #-------------------------------------------------
     # 3D VIEW SETTINGS



More information about the Bf-extensions-cvs mailing list