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

List:       kde-commits
Subject:    branches/koffice/1.5/koffice/krita
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2006-04-06 17:29:26
Message-ID: 1144344566.392861.7166.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 527041 by rempt:

* Fix rotation with adjustment layers
* Update todo
* Fix bug 125010
BUG: 124010


 M  +17 -0     core/kis_transform_visitor.h  
 M  +1 -0      krita.desktop  
 M  +2 -0      todo-1.5  


--- branches/koffice/1.5/koffice/krita/core/kis_transform_visitor.h #527040:527041
@@ -102,6 +102,23 @@
 
     virtual bool visit(KisAdjustmentLayer* layer)
     {
+        KisPaintDeviceSP dev = layer->selection().data();
+        
+        KisTransaction * t = 0;
+
+        if (m_img->undo()) {
+            t = new KisTransaction(i18n("Rotate Layer"), dev);
+            Q_CHECK_PTR(t);
+        }
+
+        KisTransformWorker tw(dev, m_sx, m_sy, 0.0, 0.0, m_angle, m_tx, m_ty, \
m_progress, m_filter); +        tw.run();
+
+        if (m_img->undo()) {
+            m_img->undoAdapter()->addCommand(t);
+        }
+        layer->setDirty();
+        
         layer->resetCache();
         return true;
     }
--- branches/koffice/1.5/koffice/krita/krita.desktop #527040:527041
@@ -30,6 +30,7 @@
 GenericName[uk]=Малювання і редагування зображень
 GenericName[uz]= асмлар билан ишлайдиган дастур
 GenericName[zh_CN]=绘图和图像编辑
+Comment=Edit and paint images
 MimeType=application/x-krita
 Type=Application
 Icon=krita
--- branches/koffice/1.5/koffice/krita/todo-1.5 #527040:527041
@@ -53,6 +53,8 @@
 
 ? saving 16 bit grayscale to jpeg silently converts to 8 bit grayscale (actually \
it's not a regression, saving to both 8bits and 16bits jpeg with the same build is \
impossible with libjpeg)  ? zooming in leaves display artefacts (see Bart's mail)
+? rotate is broken for large images
+? undoing rotate (from menu) when there is a selection active leads to weird results
 
 Painting with filters
 


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

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