[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/krita/core
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2006-03-03 8:03:55
Message-ID: 1141373035.364235.21714.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 515241 by rempt:

Fix for rendering when multiple adj layers are stacked and set (in)visible.


 M  +2 -2      kis_group_layer.cc  


--- trunk/koffice/krita/core/kis_group_layer.cc #515240:515241
@@ -327,7 +327,7 @@
 
             // If this adjustment layer is dirty, start compositing with the
             // previous adj. layer, if there's one.
-            if (tmpAdjLayer->dirty(rc) && adjLayer != 0) {
+            if (tmpAdjLayer->dirty(rc) && adjLayer != 0 && adjLayer->visible()) {
                 startWith = adjLayer->prevSibling();
                 break;
             }
@@ -340,7 +340,7 @@
             // A non-adjustmentlayer that's dirty; if there's an adjustmentlayer
             // with a cache, we'll start from there.
             if (child->dirty(rc)) {
-                if (adjLayer != 0) {
+                if (adjLayer != 0 && adjLayer->visible()) {
                     // the first layer on top of the adj. layer
                     startWith = adjLayer->prevSibling();
                 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic