summaryrefslogtreecommitdiffstats
path: root/src/sp-image.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2007-06-29 14:12:19 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2007-06-29 14:12:19 +0000
commit8d901b78841565c4dd2529c2341ec1b65c05c1a2 (patch)
tree3fc3f1e6d9d7fcd425e204af0e92f2cb0f19a279 /src/sp-image.cpp
parentexcluding plugin.cpp to fix compiling on win32 (list discussion indicated it ... (diff)
downloadinkscape-8d901b78841565c4dd2529c2341ec1b65c05c1a2.tar.gz
inkscape-8d901b78841565c4dd2529c2341ec1b65c05c1a2.zip
When an image is clipped, the curve used for snapping must be updated
(bzr r3154)
Diffstat (limited to 'src/sp-image.cpp')
-rw-r--r--src/sp-image.cpp3
1 files changed, 2 insertions, 1 deletions
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);
}