[gimp/gimp-2-8] Bug 728226: Blending mode of layers in ORA changed upon opening



commit 6f6a51274fb728256fec1ff786124276b8cca8c5
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Sat May 10 18:46:31 2014 +0200

    Bug 728226: Blending mode of layers in ORA changed upon opening
    
    (cherry picked from commit 07ff7c7d6db573e36db1b3c2ba03d89eb6b4f9e1)

 plug-ins/pygimp/plug-ins/file-openraster.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/pygimp/plug-ins/file-openraster.py b/plug-ins/pygimp/plug-ins/file-openraster.py
index 4cdc909..14c8dfa 100755
--- a/plug-ins/pygimp/plug-ins/file-openraster.py
+++ b/plug-ins/pygimp/plug-ins/file-openraster.py
@@ -21,7 +21,6 @@ import xml.etree.ElementTree as ET
 
 layermodes_map = {
     "svg:src-over": NORMAL_MODE,
-    "svg:plus": ADDITION_MODE,
     "svg:multiply": MULTIPLY_MODE,
     "svg:screen": SCREEN_MODE,
     "svg:overlay": OVERLAY_MODE,
@@ -32,6 +31,11 @@ layermodes_map = {
     "svg:hard-light": HARDLIGHT_MODE,
     "svg:soft-light": SOFTLIGHT_MODE,
     "svg:difference": DIFFERENCE_MODE,
+    "svg:color": COLOR_MODE,
+    "svg:luminosity": VALUE_MODE,
+    "svg:hue": HUE_MODE,
+    "svg:saturation": SATURATION_MODE,
+    "svg:plus": ADDITION_MODE,
 }
 
 def reverse_map(mapping):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]