summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/path.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-07-28 21:30:16 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-07-28 21:30:16 +0000
commitae3b6608ecb46d6a71f6de95768aa0ed72e2dc08 (patch)
treefa1b482730b1fa3bc8d5111b5fdfa16a9adc2cf3 /src/live_effects/parameter/path.cpp
parentFix for copy&paste clone original with clip-path/mask (diff)
downloadinkscape-ae3b6608ecb46d6a71f6de95768aa0ed72e2dc08.tar.gz
inkscape-ae3b6608ecb46d6a71f6de95768aa0ed72e2dc08.zip
Don't update path effects on document load (#1299948)
Fixed bugs: - https://launchpad.net/bugs/1299948 (bzr r13479)
Diffstat (limited to 'src/live_effects/parameter/path.cpp')
-rw-r--r--src/live_effects/parameter/path.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp
index cdbbef1db..44d414942 100644
--- a/src/live_effects/parameter/path.cpp
+++ b/src/live_effects/parameter/path.cpp
@@ -118,6 +118,11 @@ PathParam::param_readSVGValue(const gchar * strvalue)
// Now do the attaching, which emits the changed signal.
try {
ref.attach(Inkscape::URI(href));
+ //lp:1299948
+ SPItem* i = ref.getObject();
+ if (i) {
+ linked_modified_callback(i, SP_OBJECT_MODIFIED_FLAG);
+ } // else: document still processing new events. Repr of the linked object not created yet.
} catch (Inkscape::BadURIException &e) {
g_warning("%s", e.what());
ref.detach();