From d842b7ecb5034d2b804e93c718e04120f9821e70 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sun, 29 Mar 2009 22:23:35 +0000 Subject: [PATCH] restore the pattern from clipboard ability --- src/draw-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.30.2