summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.cpp
diff options
context:
space:
mode:
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