diff --git a/src/object-snapper.cpp b/src/object-snapper.cpp
index 3d583b70950e2959efe7c8b6bdd466b369549558..6146c11b8584b8cbacc9a8a113eb70565a1da49d 100644 (file)
--- a/src/object-snapper.cpp
+++ b/src/object-snapper.cpp
NR::Point const p_it = p_doc * i2doc.inverse();
Path *livarot_path = Path_for_item(*i, true, true);
- if (livarot_path)
- livarot_path->ConvertWithBackData(0.01);
+ if (!livarot_path)
+ continue;
+
+ livarot_path->ConvertWithBackData(0.01);
/* Look for the nearest position on this SPItem to our snap point */
NR::Maybe<Path::cut_position> const o = get_nearest_position_on_Path(livarot_path, p_it);