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

List:       kde-commits
Subject:    koffice/krita/ui
From:       Gábor Lehel <illissius () gmail ! com>
Date:       2005-12-31 17:19:38
Message-ID: 1136049578.672399.8904.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 492944 by illissius:

compile

 M  +2 -2      kis_selection_manager.cc  


--- trunk/koffice/krita/ui/kis_selection_manager.cc #492943:492944
@@ -443,7 +443,7 @@
         gc.begin(layer->paintDevice());
         gc.bitBlt(0, 0, COMPOSITE_COPY, clip, r.x(), r.y(), r.width(), r.height());
         gc.end();
-        img->addLayer(layer, img->rootLayer(), img -> index(layer));
+        img->addLayer(layer, img -> rootLayer(), img -> activeLayer());
 
        //figure out where to position the clip
         KisCanvasController *cc = m_parent->getCanvasController();
@@ -493,7 +493,7 @@
     KisPainter p(layer->paintDevice());
     p.bitBlt(0, 0, COMPOSITE_COPY, clip, OPACITY_OPAQUE, r.x(), r.y(), r.width(), r.height());
     p.end();
-    img->addLayer(layer, img->rootLayer, 0);
+    img->addLayer(layer, img->rootLayer(), 0);
     doc->setCurrentImage( img );
     KoMainWindow *win = new KoMainWindow( doc->instance() );
     win->show();
[prev in list] [next in list] [prev in thread] [next in thread] 

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