diff options
| author | Jasper van de Gronde <jasper.vandegronde@gmail.com> | 2008-07-21 14:36:55 +0000 |
|---|---|---|
| committer | jaspervdg <jaspervdg@users.sourceforge.net> | 2008-07-21 14:36:55 +0000 |
| commit | febf678872ce77681ab327dbcf154ee801b9b14c (patch) | |
| tree | b957fab0d8e69cbb5308f3afccc045aa7042478c /src/helper/geom.cpp | |
| parent | fix saving presets, move it to the menu; allow overwriting a preset; fix redu... (diff) | |
| download | inkscape-febf678872ce77681ab327dbcf154ee801b9b14c.tar.gz inkscape-febf678872ce77681ab327dbcf154ee801b9b14c.zip | |
Fix for a very stupid bug (by myself) in cubic_bbox...
(bzr r6383)
Diffstat (limited to 'src/helper/geom.cpp')
| -rw-r--r-- | src/helper/geom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/geom.cpp b/src/helper/geom.cpp index 2af044f4a..f94881e0c 100644 --- a/src/helper/geom.cpp +++ b/src/helper/geom.cpp @@ -45,7 +45,7 @@ cubic_bbox (Geom::Coord x000, Geom::Coord y000, Geom::Coord x001, Geom::Coord y0 // So, if it also contains (x001,y001) and (x011,y011) we don't have to compute anything else! // Note that we compute it for the X and Y range separately to make it easier to use them below bool containsXrange = bbox[0].contains(x001) && bbox[0].contains(x011); - bool containsYrange = bbox[0].contains(y001) && bbox[0].contains(y011); + bool containsYrange = bbox[1].contains(y001) && bbox[1].contains(y011); /* * xttt = s * (s * (s * x000 + t * x001) + t * (s * x001 + t * x011)) + t * (s * (s * x001 + t * x011) + t * (s * x011 + t * x111)) |
