From: buliabyak Date: Sun, 29 Mar 2009 22:23:35 +0000 (+0000) Subject: restore the pattern from clipboard ability X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d842b7ecb5034d2b804e93c718e04120f9821e70;p=inkscape.git restore the pattern from clipboard ability --- 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();