Mypaint paintop branch

Sven Langkamp sven.langkamp at gmail.com
Mon Jan 3 01:39:12 CET 2011


On Thu, Dec 30, 2010 at 3:23 PM, Martin Renold <martinxyz at gmx.ch> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20110103/36bd9c6b/attachment.htm 


More information about the kimageshop mailing list