Merge branch 'master' of https://github.com/tarnowsc/mapnik
This commit is contained in:
commit
ba03c5a28f
1 changed files with 2 additions and 1 deletions
|
@ -798,6 +798,8 @@ void cairo_renderer_base::process(building_symbolizer const& sym,
|
||||||
std::deque<segment_t> face_segments;
|
std::deque<segment_t> face_segments;
|
||||||
double x0(0);
|
double x0(0);
|
||||||
double y0(0);
|
double y0(0);
|
||||||
|
|
||||||
|
geom.rewind(0);
|
||||||
unsigned cm = geom.vertex(&x0, &y0);
|
unsigned cm = geom.vertex(&x0, &y0);
|
||||||
|
|
||||||
for (unsigned j = 1; j < geom.num_points(); ++j)
|
for (unsigned j = 1; j < geom.num_points(); ++j)
|
||||||
|
@ -848,7 +850,6 @@ void cairo_renderer_base::process(building_symbolizer const& sym,
|
||||||
}
|
}
|
||||||
|
|
||||||
geom.rewind(0);
|
geom.rewind(0);
|
||||||
|
|
||||||
for (unsigned j = 0; j < geom.num_points(); ++j)
|
for (unsigned j = 0; j < geom.num_points(); ++j)
|
||||||
{
|
{
|
||||||
double x, y;
|
double x, y;
|
||||||
|
|
Loading…
Reference in a new issue