summaryrefslogtreecommitdiffstats
path: root/src/pencil-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pencil-context.cpp')
-rw-r--r--src/pencil-context.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp
index a7fa5e111..304f81890 100644
--- a/src/pencil-context.cpp
+++ b/src/pencil-context.cpp
@@ -766,9 +766,9 @@ interpolate(SPPencilContext *pc)
//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]);
- BP = Geom::Point(BP[X] + 0.0625,BP[Y] + 0.0625);
+ BP = Geom::Point(BP[X] + 0.0001,BP[Y] + 0.0001);
Geom::Point CP = b[4*c+3] + (1./3)*(b[4*c+0] - b[4*c+3]);
- CP = Geom::Point(CP[X] + 0.0625,CP[Y] + 0.0625);
+ CP = Geom::Point(CP[X] + 0.0001,CP[Y] + 0.0001);
pc->green_curve->curveto(BP,CP,b[4*c+3]);
}else{
pc->green_curve->curveto(b[4*c+1], b[4*c+2], b[4*c+3]);
@@ -922,9 +922,9 @@ fit_and_split(SPPencilContext *pc)
guint mode = prefs->getInt("/tools/freehand/pencil/freehand-mode", 0);
if(mode == 2){
Geom::Point B = b[0] + (1./3)*(b[3] - b[0]);
- B = Geom::Point(B[X] + 0.0625,B[Y] + 0.0625);
+ B = Geom::Point(B[X] + 0.0001,B[Y] + 0.0001);
Geom::Point C = b[3] + (1./3)*(b[0] - b[3]);
- C = Geom::Point(C[X] + 0.0625,C[Y] + 0.0625);
+ C = Geom::Point(C[X] + 0.0001,C[Y] + 0.0001);
pc->red_curve->curveto(B,C,b[3]);
}else{
pc->red_curve->curveto(b[1], b[2], b[3]);