From b2981a3b8f54bccfa45c76f57b38c9c93808d2fc Mon Sep 17 00:00:00 2001 From: root Date: Tue, 12 Mar 2013 00:48:05 +0100 Subject: ~sub fix, double click to reset default handles and control to 10% step (bzr r11950.1.51) --- src/pencil-context.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/pencil-context.cpp') 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){ -- cgit v1.2.3