summaryrefslogtreecommitdiffstats
path: root/src/pencil-context.cpp
diff options
context:
space:
mode:
authorroot <root@jtx.marker.es>2013-03-11 23:48:05 +0000
committerroot <root@jtx.marker.es>2013-03-11 23:48:05 +0000
commitb2981a3b8f54bccfa45c76f57b38c9c93808d2fc (patch)
tree59eae63d752f70b5ad26acc2852f82ebbb9f1563 /src/pencil-context.cpp
parentMerge from trunk (diff)
downloadinkscape-b2981a3b8f54bccfa45c76f57b38c9c93808d2fc.tar.gz
inkscape-b2981a3b8f54bccfa45c76f57b38c9c93808d2fc.zip
~sub fix, double click to reset default handles and control to 10% step
(bzr r11950.1.51)
Diffstat (limited to 'src/pencil-context.cpp')
-rw-r--r--src/pencil-context.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp
index 1ece4528a..37df2588a 100644
--- a/src/pencil-context.cpp
+++ b/src/pencil-context.cpp
@@ -757,7 +757,8 @@ interpolate(SPPencilContext *pc)
guint mode = prefs->getInt("/tools/freehand/pencil/freehand-mode", 0);
//BSpline End
for (int c = 0; c < n_segs; c++) {
- //BSpline
+ //BSpline
+ //Si el modo es BSpline modificamos para que el trazado cree los nodos adhoc
if(mode == 2){
Geom::Point BP = b[4*c+0] + (1./3)*(b[4*c+3] - b[4*c+0]);
Geom::Point CP = b[4*c+3] + (1./3)*(b[4*c+0] - b[4*c+3]);
@@ -907,6 +908,7 @@ fit_and_split(SPPencilContext *pc)
pc->red_curve->reset();
pc->red_curve->moveto(b[0]);
//BSpline
+ //Si el modo es BSpline modificamos para que el trazado cree los nodos adhoc
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
guint mode = prefs->getInt("/tools/freehand/pencil/freehand-mode", 0);
if(mode == 2){