diff --git a/include/mapnik/feature_style_processor_impl.hpp b/include/mapnik/feature_style_processor_impl.hpp index 926b19ed7..278ea5463 100644 --- a/include/mapnik/feature_style_processor_impl.hpp +++ b/include/mapnik/feature_style_processor_impl.hpp @@ -213,8 +213,12 @@ void feature_style_processor::apply_to_layer(layer const& lay, if (!mat.active_styles_.empty()) { + p.start_layer_processing(mat.lay_, mat.layer_ext2_); + render_material(mat,p); render_submaterials(mat, p); + + p.end_layer_processing(mat.lay_); } }