summaryrefslogtreecommitdiffstats
path: root/src/draw-context.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-07-22 14:53:10 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-07-22 14:53:10 +0000
commit87a24105cc5539f52dbbc821235cbac10f94d01b (patch)
treed10280e41e95aba5d406a3a15fe34aa41adba538 /src/draw-context.cpp
parentSeparate spiro modes for pen and pencil tool (diff)
downloadinkscape-87a24105cc5539f52dbbc821235cbac10f94d01b.tar.gz
inkscape-87a24105cc5539f52dbbc821235cbac10f94d01b.zip
Separate shape settings for pen and pencil tool
(bzr r6397)
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 6a9e63436..a87ca43b6 100644
--- a/src/draw-context.cpp
+++ b/src/draw-context.cpp
@@ -282,7 +282,7 @@ spdc_check_for_and_apply_waiting_LPE(SPDrawContext *dc, SPItem *item)
Effect::createAndApply(SPIRO, dc->desktop->doc(), item);
}
- int shape = prefs_get_int_attribute("tools.freehand", "shape", 0);
+ int shape = prefs_get_int_attribute(tool_name(dc), "shape", 0);
bool shape_applied = false;
SPCSSAttr *css_item = sp_css_attr_from_object (SP_OBJECT(item), SP_STYLE_FLAG_ALWAYS);
const char *cstroke = sp_repr_css_property(css_item, "stroke", "none");