From b8d497844adc2795afa457354caf696d05fe7019 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 19 Sep 2014 14:15:59 -0700 Subject: [PATCH] enable painted for svg_renderer --- include/mapnik/svg/output/svg_renderer.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/mapnik/svg/output/svg_renderer.hpp b/include/mapnik/svg/output/svg_renderer.hpp index 1e98fee09..baee36541 100644 --- a/include/mapnik/svg/output/svg_renderer.hpp +++ b/include/mapnik/svg/output/svg_renderer.hpp @@ -127,9 +127,14 @@ public: mapnik::feature_impl & feature, proj_transform const& prj_trans); - void painted(bool /*painted*/) + bool painted() const { - // nothing to do + return painted_; + } + + void painted(bool painted) + { + painted_ = painted; } inline eAttributeCollectionPolicy attribute_collection_policy() const