summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-03-28 20:49:55 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-03-28 20:49:55 +0000
commit9d5b761169b927286a66913d75a124d8286e51c3 (patch)
tree7ab6ba1918680c97d4bb2f509e855a6ff384397b /src/path-chemistry.cpp
parentfix lpe-PathPAram when deleting the path that it links to (diff)
downloadinkscape-9d5b761169b927286a66913d75a124d8286e51c3.tar.gz
inkscape-9d5b761169b927286a66913d75a124d8286e51c3.zip
when applying LPE to rect, convert it to path first
(bzr r5223)
Diffstat (limited to 'src/path-chemistry.cpp')
-rw-r--r--src/path-chemistry.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index 49c1a1063..cfdbc0b54 100644
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
@@ -261,9 +261,13 @@ sp_selected_path_break_apart(void)
/* This function is an entry point from GUI */
void
-sp_selected_path_to_curves(void)
+sp_selected_path_to_curves(bool interactive)
{
- sp_selected_path_to_curves0(TRUE, SP_TOCURVE_INTERACTIVE);
+ if (interactive) {
+ sp_selected_path_to_curves0(TRUE, SP_TOCURVE_INTERACTIVE);
+ } else {
+ sp_selected_path_to_curves0(false, 0);
+ }
}
static void