summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/path.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-04-13 21:05:27 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-04-13 21:05:27 +0000
commit8457967b338c4c9f41d00795de975d1b9b54757d (patch)
treea90cf53f97e5c93b170a3fc351b4a0870c88f2c6 /src/live_effects/parameter/path.cpp
parentmove live_effects/n-art-bpath-2geom.* to libnr/n-art-bpath-2geom.* (diff)
downloadinkscape-8457967b338c4c9f41d00795de975d1b9b54757d.tar.gz
inkscape-8457967b338c4c9f41d00795de975d1b9b54757d.zip
now with 2geom's arc implem. : accept pasting ellipse path params.
(bzr r5428)
Diffstat (limited to 'src/live_effects/parameter/path.cpp')
-rw-r--r--src/live_effects/parameter/path.cpp19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp
index 689ec4a8c..8d31b1dfb 100644
--- a/src/live_effects/parameter/path.cpp
+++ b/src/live_effects/parameter/path.cpp
@@ -60,7 +60,6 @@ PathParam::PathParam( const Glib::ustring& label, const Glib::ustring& tip,
oncanvas_editable = true;
ref_changed_connection = ref.changedSignal().connect(sigc::mem_fun(*this, &PathParam::ref_changed));
-
}
PathParam::~PathParam()
@@ -355,19 +354,13 @@ PathParam::on_paste_button_click()
if (svgd == "")
return;
- // Temporary hack until 2Geom supports arcs in SVGD
- if (svgd.find('A') != Glib::ustring::npos) {
- SP_ACTIVE_DESKTOP->messageStack()->flash( Inkscape::WARNING_MESSAGE,
- _("This effect does not support arcs yet, try to convert to path.") );
- return;
- } else {
- // remove possible link to path
- remove_link();
+ // remove possible link to path
+ remove_link();
- param_write_to_repr(svgd.data());
- signal_path_pasted.emit();
- sp_document_done(param_effect->getSPDoc(), SP_VERB_DIALOG_LIVE_PATH_EFFECT,
- _("Paste path parameter"));
+ param_write_to_repr(svgd.data());
+ signal_path_pasted.emit();
+ sp_document_done(param_effect->getSPDoc(), SP_VERB_DIALOG_LIVE_PATH_EFFECT,
+ _("Paste path parameter"));
}
}