[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Mypaint paintop branch
From: Martin Renold <martinxyz () gmx ! ch>
Date: 2010-12-30 14:23:42
Message-ID: 20101230142342.GA950 () old ! homeip ! net
[Download RAW message or body]
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
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic