https://bugs.kde.org/show_bug.cgi?id=402382

wolthera <griffinval...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |griffinval...@gmail.com

--- Comment #1 from wolthera <griffinval...@gmail.com> ---
That group layers don't work is weird because it does seem to work in the
save_group_layers function in layers->export, in code as
'KisSaveGroupVisitor.cpp)

---------------------------------------------------------------------------------

KisImageSP dst = new KisImage(exportDocument->createUndoStore(), r.width(),
r.height(), m_image->colorSpace(), layer->name());
          dst->setResolution(m_image->xRes(), m_image->yRes());
          exportDocument->setCurrentImage(dst);
          KisPaintLayer* paintLayer = new KisPaintLayer(dst, "projection",
layer->opacity());
          KisPainter gc(paintLayer->paintDevice());
          gc.bitBlt(QPoint(0, 0), layer->projection(), r);
          dst->addNode(paintLayer, dst->rootLayer(), KisLayerSP(0));

          dst->refreshGraph();
----------------------------------------------------------------------------

File layer in turn use the projection() defined in Kis_Layer.cc, which is also
used by clone layers.

I'm at this point going to do a test script first.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to