From: dvlierop2 Date: Fri, 29 Jun 2007 14:12:19 +0000 (+0000) Subject: When an image is clipped, the curve used for snapping must be updated X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c1af1032e22b0cc7db12a8be46f4064c0d656901;p=inkscape.git When an image is clipped, the curve used for snapping must be updated --- diff --git a/src/sp-image.cpp b/src/sp-image.cpp index 6ff6bb806..9f6767050 100644 --- a/src/sp-image.cpp +++ b/src/sp-image.cpp @@ -685,6 +685,8 @@ sp_image_set (SPObject *object, unsigned int key, const gchar *value) ((SPObjectClass *) (parent_class))->set (object, key, value); break; } + + sp_image_set_curve(image); //creates a curve at the image's boundary for snapping } static void @@ -882,7 +884,6 @@ sp_image_update (SPObject *object, SPCtx *ctx, unsigned int flags) } } } - sp_image_set_curve((SPImage *) object); //creates a curve at the image's boundary for snapping sp_image_update_canvas_image ((SPImage *) object); }