summaryrefslogtreecommitdiffstats
path: root/src/draw-context.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2009-03-29 22:23:35 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2009-03-29 22:23:35 +0000
commitc1136f46458397bba700a02c8e10ef8b5f844229 (patch)
tree35a67d0075fa37c12882138647967dc8a1035cc3 /src/draw-context.cpp
parent- Move snap delay mechanism to the event context (used to be in SPCanvas) (diff)
downloadinkscape-c1136f46458397bba700a02c8e10ef8b5f844229.tar.gz
inkscape-c1136f46458397bba700a02c8e10ef8b5f844229.zip
restore the pattern from clipboard ability
(bzr r7590)
Diffstat (limited to 'src/draw-context.cpp')
-rw-r--r--src/draw-context.cpp2
1 files changed, 1 insertions, 1 deletions
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<LPEPatternAlongPath*>(lpe)->pattern.on_paste_button_click();