From: nicholasbishop Date: Sun, 19 Aug 2007 01:08:03 +0000 (+0000) Subject: Filter effects dialog: X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=13a5e1b05645b9847d758c481262997574163535;p=inkscape.git Filter effects dialog: feMerge fix; adding a new input should only happen if the user's drag motion points to a valid input primitive --- diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp index 301ba8853..d1ce3b89c 100644 --- a/src/ui/dialog/filter-effects-dialog.cpp +++ b/src/ui/dialog/filter-effects-dialog.cpp @@ -1703,7 +1703,7 @@ bool FilterEffectsDialog::PrimitiveList::on_button_release_event(GdkEventButton* } } // Add new input? - if(!handled && c == _in_drag) { + if(!handled && c == _in_drag && in_val) { Inkscape::XML::Document *xml_doc = sp_document_repr_doc(prim->document); Inkscape::XML::Node *repr = xml_doc->createElement("svg:feMergeNode"); repr->setAttribute("inkscape:collect", "always");