diff options
| author | Andrius Ramanauskas <knutux@gmail.com> | 2006-04-20 07:58:11 +0000 |
|---|---|---|
| committer | knutux <knutux@users.sourceforge.net> | 2006-04-20 07:58:11 +0000 |
| commit | ef3202d65972594cedf714f8b22ee4899f70a640 (patch) | |
| tree | 060072d48d3e2a607ca05cbc4dfebda6e7271fb1 /src/livarot/PathConversion.cpp | |
| parent | resolving compiler warnings (diff) | |
| download | inkscape-ef3202d65972594cedf714f8b22ee4899f70a640.tar.gz inkscape-ef3202d65972594cedf714f8b22ee4899f70a640.zip | |
Fix for [Bug-1473139]
(bzr r553)
Diffstat (limited to 'src/livarot/PathConversion.cpp')
| -rw-r--r-- | src/livarot/PathConversion.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/livarot/PathConversion.cpp b/src/livarot/PathConversion.cpp index d81785d20..a45e7548a 100644 --- a/src/livarot/PathConversion.cpp +++ b/src/livarot/PathConversion.cpp @@ -460,9 +460,9 @@ void Path::Convert(NRRectL *area, double treshhold) nextX = nData->p; lastMoveTo = AddPoint(nextX, true); descr_cmd[curP]->associated = lastMoveTo; - last_point_relation = 0; + last_point_relation = POINT_RELATION_TO_AREA(nextX, area); + start_elimination = false; - // et on avance curP++; break; } @@ -497,7 +497,7 @@ void Path::Convert(NRRectL *area, double treshhold) } else { start_elimination = false; } - + if (!replace) { descr_cmd[curP]->associated = AddPoint(nextX, false); } @@ -510,7 +510,6 @@ void Path::Convert(NRRectL *area, double treshhold) } } last_point_relation = curent_point_relation; - // et on avance curP++; break; } @@ -548,7 +547,6 @@ void Path::Convert(NRRectL *area, double treshhold) } } last_point_relation = curent_point_relation; - // et on avance curP++; break; } @@ -566,7 +564,7 @@ void Path::Convert(NRRectL *area, double treshhold) } } last_point_relation = 0; - // et on avance + curP++; break; } @@ -656,7 +654,7 @@ void Path::Convert(NRRectL *area, double treshhold) } last_point_relation = 0; - // et on avance + curP += nbInterm; break; } |
