--===============1837931108== Content-Type: multipart/alternative; boundary=001485f792b6821be30474633779 --001485f792b6821be30474633779 Content-Type: text/plain; charset=UTF-8 On Fri, Sep 25, 2009 at 1:55 AM, Cyrille Berger wrote: > SVN commit 1027845 by berger: > > Fix: painting of generator layer > > hum, there is a lot of duplicated code in that file... > Already fixed in my patch. > > > > M +3 -0 kis_top_down_update_strategy.cpp > > > --- trunk/koffice/krita/image/kis_top_down_update_strategy.cpp > #1027844:1027845 > @@ -108,6 +108,9 @@ > > KisPainter gc(m_projection); > gc.setChannelFlags(layer->channelFlags()); > + gc.setCompositeOp(layer->compositeOp()); > + gc.setOpacity(layer->opacity()); > + gc.bitBlt(rc.topLeft(), dev, rc); > > > return true; > -- Dmitry Kazakov --001485f792b6821be30474633779 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Fri, Sep 25, 2009 at 1:55 AM, Cyrille= Berger <cyb@lepi.org<= /a>> wrote:
SVN commit 1027845 by berger:

Fix: painting of generator layer

hum, there is a lot of duplicated code in that file...

Already fixed in my patch.
=C2=A0



=C2=A0M =C2=A0+3 -0 =C2=A0 =C2=A0 =C2=A0kis_top_down_update_strategy.cpp

--- trunk/koffice/krita/image/kis_top_down_update_strategy.cpp #1027844:102= 7845
@@ -108,6 +108,9 @@

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 KisPainter gc(m_projection);
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gc.setChannelFlags(layer->cha= nnelFlags());
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gc.setCompositeOp(layer->comp= ositeOp());
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gc.setOpacity(layer->opacity(= ));
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gc.bitBlt(rc.topLeft(), dev, rc)= ;


=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 return true;



--
Dmitry Kazakov
--001485f792b6821be30474633779-- --===============1837931108== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============1837931108==--