mirror of
https://github.com/mapnik/mapnik.git
synced 2026-01-25 16:47:07 +00:00
bugfix - if geometry is used twice from cache it will be missing walls in building symbolizer
This commit is contained in:
parent
fa458177a4
commit
68febbdbfb
@ -123,8 +123,8 @@ void agg_renderer<T>::process(building_symbolizer const& sym,
|
||||
frame->move_to(itr->get<0>(),itr->get<1>());
|
||||
frame->line_to(itr->get<0>(),itr->get<1>()+height);
|
||||
}
|
||||
|
||||
geom.rewind(0);
|
||||
|
||||
for (unsigned j=0;j<geom.num_points();++j)
|
||||
{
|
||||
double x,y;
|
||||
@ -140,6 +140,8 @@ void agg_renderer<T>::process(building_symbolizer const& sym,
|
||||
roof->line_to(x,y+height);
|
||||
}
|
||||
}
|
||||
geom.rewind(0);
|
||||
|
||||
path_type path(t_,*frame,prj_trans);
|
||||
agg::conv_stroke<path_type> stroke(path);
|
||||
ras_ptr->add_path(stroke);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user