From: buliabyak Date: Thu, 15 Oct 2009 06:39:10 +0000 (+0000) Subject: fix crash: draw two paths, select both, object - clip - set, node tool, edit clippath... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=640154af7b877aeaa9b421ef97e2b73523c329fd;p=inkscape.git fix crash: draw two paths, select both, object - clip - set, node tool, edit clippath, drag a clippath node, undo --- diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp index b44d889e0..4999eb7cf 100644 --- a/src/shape-editor.cpp +++ b/src/shape-editor.cpp @@ -353,6 +353,9 @@ bool ShapeEditor::is_over_stroke (Geom::Point event_p, bool remember) { const SPItem *item = get_item(SH_NODEPATH); + if (!item || !SP_IS_ITEM(item)) + return false; + //Translate click point into proper coord system this->curvepoint_doc = desktop->w2d(event_p); this->curvepoint_doc *= sp_item_dt2i_affine(item);