summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d9c6738)
raw | patch | inline | side by side (parent: d9c6738)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 13 Apr 2008 21:05:27 +0000 (21:05 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 13 Apr 2008 21:05:27 +0000 (21:05 +0000) |
src/live_effects/parameter/path.cpp | patch | blob | history |
index 689ec4a8cfe3bd39b1b849e5e319105944a142f8..8d31b1dfbd01285fe47169415892e324575992d1 100644 (file)
oncanvas_editable = true;
ref_changed_connection = ref.changedSignal().connect(sigc::mem_fun(*this, &PathParam::ref_changed));
-
}
PathParam::~PathParam()
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"));
}
}