fix logic error causing direct-image-filters to not be enabled unless normal image-filters are also enabled
This commit is contained in:
parent
7ad2d12633
commit
7b9f9fe260
1 changed files with 6 additions and 7 deletions
|
@ -270,13 +270,12 @@ void agg_renderer<T>::end_style_processing(feature_type_style const& st)
|
||||||
{
|
{
|
||||||
composite(pixmap_.data(),current_buffer_->data(), src_over, st.get_opacity(), 0, 0, false);
|
composite(pixmap_.data(),current_buffer_->data(), src_over, st.get_opacity(), 0, 0, false);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// apply any 'direct' image filters
|
// apply any 'direct' image filters
|
||||||
mapnik::filter::filter_visitor<image_32> visitor(pixmap_);
|
mapnik::filter::filter_visitor<image_32> visitor(pixmap_);
|
||||||
BOOST_FOREACH(mapnik::filter::filter_type const& filter_tag, st.direct_image_filters())
|
BOOST_FOREACH(mapnik::filter::filter_type const& filter_tag, st.direct_image_filters())
|
||||||
{
|
{
|
||||||
boost::apply_visitor(visitor, filter_tag);
|
boost::apply_visitor(visitor, filter_tag);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
MAPNIK_LOG_DEBUG(agg_renderer) << "agg_renderer: End processing style";
|
MAPNIK_LOG_DEBUG(agg_renderer) << "agg_renderer: End processing style";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue