summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/originalpath.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2012-04-08 21:49:39 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2012-04-08 21:49:39 +0000
commit821270153ace522f49f9350200c148df4e09e0f4 (patch)
tree27dfd8d8eb56bb30aa6b5579d9150854eb9ed281 /src/live_effects/parameter/originalpath.cpp
parentfix inclusion. (diff)
downloadinkscape-821270153ace522f49f9350200c148df4e09e0f4.tar.gz
inkscape-821270153ace522f49f9350200c148df4e09e0f4.zip
clone original path lpe: add boilerplate code to allow to compensate for linked path movement. but it should be worked out how the actual compensation should be written to SVG. don't want to add something to the cloneLPE SVG syntax in a haste
(bzr r11188)
Diffstat (limited to 'src/live_effects/parameter/originalpath.cpp')
-rw-r--r--src/live_effects/parameter/originalpath.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/live_effects/parameter/originalpath.cpp b/src/live_effects/parameter/originalpath.cpp
index e5c16943c..71ab006d6 100644
--- a/src/live_effects/parameter/originalpath.cpp
+++ b/src/live_effects/parameter/originalpath.cpp
@@ -104,6 +104,14 @@ OriginalPathParam::linked_modified_callback(SPObject *linked_obj, guint /*flags*
}
void
+OriginalPathParam::linked_transformed_callback(Geom::Affine const * /*rel_transf*/, SPItem * /*moved_item*/)
+{
+/** \todo find good way to compensate for referenced path transform, like done for normal clones.
+ * See sp-use.cpp: sp_use_move_compensate */
+}
+
+
+void
OriginalPathParam::on_select_original_button_click()
{
SPDesktop *desktop = SP_ACTIVE_DESKTOP;