From c1136f46458397bba700a02c8e10ef8b5f844229 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Sun, 29 Mar 2009 22:23:35 +0000 Subject: restore the pattern from clipboard ability (bzr r7590) --- src/draw-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/draw-context.cpp') diff --git a/src/draw-context.cpp b/src/draw-context.cpp index f90f033f3..d2794f0c2 100644 --- a/src/draw-context.cpp +++ b/src/draw-context.cpp @@ -359,7 +359,7 @@ spdc_check_for_and_apply_waiting_LPE(SPDrawContext *dc, SPItem *item) case 4: { // take shape from clipboard; TODO: catch the case where clipboard is empty - Effect::createAndApply(FREEHAND_SHAPE, dc->desktop->doc(), item); + Effect::createAndApply(PATTERN_ALONG_PATH, dc->desktop->doc(), item); Effect* lpe = sp_lpe_item_get_current_lpe(SP_LPE_ITEM(item)); static_cast(lpe)->pattern.on_paste_button_click(); -- cgit v1.2.3