diff options
| author | bulia byak <buliabyak@gmail.com> | 2009-10-15 06:39:10 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2009-10-15 06:39:10 +0000 |
| commit | 65153786612ddeaa63d7ea5fbed0c2698a023fe7 (patch) | |
| tree | 11b0e26df24da710279a894147839349b3290f21 /src/shape-editor.cpp | |
| parent | Updated .desktop file (sorry to our translators!) (diff) | |
| download | inkscape-65153786612ddeaa63d7ea5fbed0c2698a023fe7.tar.gz inkscape-65153786612ddeaa63d7ea5fbed0c2698a023fe7.zip | |
fix crash: draw two paths, select both, object - clip - set, node tool, edit clippath, drag a clippath node, undo
(bzr r8773)
Diffstat (limited to 'src/shape-editor.cpp')
| -rw-r--r-- | src/shape-editor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
