diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-08-30 18:32:36 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-08-30 18:32:36 +0000 |
| commit | 13e73fa386cd7843d7079ec7c162ef43d15097c4 (patch) | |
| tree | ab4c7a4f76528e9139a85aa1c1267ecf2c6df8fe /src/2geom/sbasis-poly.cpp | |
| parent | updated Slovak (sk) translation in trunk (diff) | |
| download | inkscape-13e73fa386cd7843d7079ec7c162ef43d15097c4.tar.gz inkscape-13e73fa386cd7843d7079ec7c162ef43d15097c4.zip | |
Update to 2Geom rev. 1113
(bzr r3622)
Diffstat (limited to 'src/2geom/sbasis-poly.cpp')
| -rw-r--r-- | src/2geom/sbasis-poly.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/2geom/sbasis-poly.cpp b/src/2geom/sbasis-poly.cpp index e0fa828f9..ff797920f 100644 --- a/src/2geom/sbasis-poly.cpp +++ b/src/2geom/sbasis-poly.cpp @@ -15,6 +15,8 @@ SBasis poly_to_sbasis(Poly const & p) { } Poly sbasis_to_poly(SBasis const & sb) { + if(sb.isZero()) + return Poly(); Poly S; // (1-x)x = -1*x^2 + 1*x + 0 Poly A, B; B.push_back(0); |
