summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6a15201)
raw | patch | inline | side by side (parent: 6a15201)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 29 Mar 2009 22:23:35 +0000 (22:23 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 29 Mar 2009 22:23:35 +0000 (22:23 +0000) |
src/draw-context.cpp | patch | blob | history |
diff --git a/src/draw-context.cpp b/src/draw-context.cpp
index f90f033f376b62d5b35c988ef42ccdd3e97092ca..d2794f0c2b6f1eed9e7444f01df145d15eb004a7 100644 (file)
--- a/src/draw-context.cpp
+++ b/src/draw-context.cpp
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();