Mypaint paintop branch
Martin Renold
martinxyz at gmx.ch
Thu Dec 30 15:23:42 CET 2010
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();
+ }
}
};
--
Martin Renold
More information about the kimageshop
mailing list