From kde-kimageshop Mon Jan 03 00:39:12 2011 From: Sven Langkamp Date: Mon, 03 Jan 2011 00:39:12 +0000 To: kde-kimageshop Subject: Re: Mypaint paintop branch Message-Id: X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=129401520920043 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1097578506==" --===============1097578506== Content-Type: multipart/alternative; boundary=0016363b845c7c66580498e66165 --0016363b845c7c66580498e66165 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Dec 30, 2010 at 3:23 PM, Martin Renold wrote: > On Tue, Dec 28, 2010 at 02:59:36AM +0100, Sven Langkamp wrote: > > > > I tried that but the brush did assert on loading. I have now updated the > > code to MyPaint 0.9, but most the recent brushes don't work correctly. I > > only changed the isfinite and passed a default tilt, the rest is same as > > before. > > Brush settings are mixed up. This will help: > > --- a/krita/plugins/paintops/mypaint/mypaint_brush_resource.cpp > +++ b/krita/plugins/paintops/mypaint/mypaint_brush_resource.cpp > @@ -198,6 +198,11 @@ public: > dict[def->cname] = def; > def->index = i++; > } > + //assert(i == BRUSH_SETTINGS_COUNT); > + if (i != BRUSH_SETTINGS_COUNT) { > + printf("Doh, you forgot a brush setting!\n"); > + abort(); > + } > } > > }; > Thanks, that helped a lot. --0016363b845c7c66580498e66165 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable --0016363b845c7c66580498e66165-- --===============1097578506== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop --===============1097578506==--