summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0fcc93d)
raw | patch | inline | side by side (parent: 0fcc93d)
author | jucablues <jucablues@users.sourceforge.net> | |
Thu, 16 Aug 2007 16:50:59 +0000 (16:50 +0000) | ||
committer | jucablues <jucablues@users.sourceforge.net> | |
Thu, 16 Aug 2007 16:50:59 +0000 (16:50 +0000) |
input StrokePaint or FillPaint
src/display/nr-filter-offset.cpp | patch | blob | history |
index 3b9c051e20ca9dca95c126f90dacec89bc7a4de3..4facd94364a8e3867375e8b70e5ace5bdc504efd 100644 (file)
NRPixBlock *in = slot.get(_input);
NRPixBlock *out = new NRPixBlock;
+ // Bail out if source image is missing
+ if (!in) {
+ g_warning("Missing source image for feOffset (in=%d)", _input);
+ return 1;
+ }
+
Point offset(dx, dy);
offset *= trans;
offset[X] -= trans[4];