<br><div class="gmail_quote">On Sun, Nov 7, 2010 at 11:57 AM, Boudewijn Rempt <span dir="ltr"><></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Sunday 07 November 2010, Dmitry Kazakov wrote:<br>
> SVN commit 1193814 by dkazakov:<br>
><br>
> Deprecate KisImage::mergedImage() function<br>
><br>
> It is intended to do a very strange thing (it doesn't guarantee<br>
> anything, because it can't even lock the image) and its functionality is<br>
> fully covered by other methods of KisImage. See a comment in the<br>
> header to get more info.<br>
<br>
</div>Is it actually used anywhere at the moment? It's a survival from the good old 1.x days when life was simple and everything ran in the gui thread.<br clear="all"></blockquote><div><br>Yes, there are some places:<br>
krita/plugins/extensions/dockers/defaultdockers/kis_imagerasteredcache.cc: m_imageProjection = m_image->mergedImage();<br>krita/plugins/extensions/separate_channels/kis_channel_separator.cc: src = image->mergedImage();<br>
krita/plugins/paintops/libpaintop/kis_custom_brush_widget.cpp: KisPaintDeviceSP dev = new KisPaintDevice(*m_image->mergedImage());<br>krita/plugins/tools/defaulttools/kis_tool_colorpicker.cc: dev = currentImage()->mergedImage();<br>
krita/plugins/tools/defaulttools/kis_tool_fill.cc: fillPainter.fillPattern(startX, startY, currentImage()->mergedImage());<br>krita/plugins/tools/defaulttools/kis_tool_fill.cc: fillPainter.fillColor(startX, startY, currentImage()->mergedImage());<br>
krita/plugins/tools/selectiontools/kis_tool_select_contiguous.cc: fillpainter.createFloodSelection(pos.x(), pos.y(), currentImage()->mergedImage());<br>krita/ui/kis_custom_pattern.cc: m_pattern = new KisPattern(image->mergedImage().data(), 0, 0, image->width(), image->height());<br>
</div></div><br>-- <br>Dmitry Kazakov<br>