<br><br><div class="gmail_quote">On Sat, Feb 25, 2012 at 11:31 AM, Boudewijn Rempt <span dir="ltr"><<a href="mailto:boud@valdyas.org">boud@valdyas.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Saturday 25 February 2012 Feb, Dmitry Kazakov wrote:<br>
> Probably, we should be more accurate and not to check<br>
> !layer->prevSibling(), but introduce functions like prevLayer(). Because<br>
> this check doesn't cover the case when masks and layers are mixed.<br>
<br>
</div>Possibly... This is the same check as is done in KisImage::mergeDown. I'm reluctant to add new api right now, though. At the moment, when merging down a loayer, all masks are discarded anyway.<br clear="all"></blockquote>
</div><br>In this case another masks may cause a trouble: the ones which are owned by layer's parent. Ok, just a notice.<br><br>-- <br>Dmitry Kazakov<br>