Hi, all!<br><br>Sorry for not using reviewboard, it doesn&#39;t accept git patches and svn creates quite messy patches when a file is moved to a different location =)<br><br>Well, here is a patch that allows masks to use different compositeOps and opacity. Now a user can choose how a mask will be applied to the layer. It makes sense in some circumstances. You can test it with a test file in attachment. <br>
<br>Tetscase:<br>1) If you set mask&#39;s composition to &quot;normal&quot;, then a selection will be darker than a background.<br>2) If you set it to &quot;Alpha darken&quot;, then it will dissolve in a background.<br><br>
To achieve this i moved colorspace, composition and opacity stuff from KisLayer to KisBaseNode, therefore masks can use it too. <br><br>Have i forgotten to move something connected to colorspaces alongside?<br><br>Waiting for your <span class="definitionof"></span>critique! =)<br>
<br clear="all"><br>-- <br>Dmitry Kazakov<br>