summaryrefslogtreecommitdiffstats
path: root/src/2geom/shape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/2geom/shape.cpp')
-rw-r--r--src/2geom/shape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/shape.cpp b/src/2geom/shape.cpp
index 814c6c68c..64abf48ff 100644
--- a/src/2geom/shape.cpp
+++ b/src/2geom/shape.cpp
@@ -349,7 +349,7 @@ void crossing_dual(unsigned &i, unsigned &j, CrossingSet const & crs) {
//locate a crossing on the outside, by casting a ray through the middle of the bbox
void outer_crossing(unsigned &ix, unsigned &jx, bool & dir, std::vector<Path> const & ps, CrossingSet const & crs) {
- Rect bounds = ps[ix].boundsFast();
+ Rect bounds = *(ps[ix].boundsFast());
double ry = bounds[Y].middle();
double max_val = bounds.left(), max_t = 0;
ix = ps.size();