From 0706b4fbaafda31d2677b4833a63cc8c114e3d1f Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sat, 19 Jun 2010 14:26:04 +0000 Subject: [PATCH] + ensure passing of default scale_factor to each render function --- bindings/python/mapnik_python.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/mapnik_python.cpp b/bindings/python/mapnik_python.cpp index f736d9819..3bd87a8ee 100644 --- a/bindings/python/mapnik_python.cpp +++ b/bindings/python/mapnik_python.cpp @@ -194,7 +194,7 @@ void render_to_file1(const mapnik::Map& map, else { mapnik::image_32 image(map.getWidth(),map.getHeight()); - render(map,image,0,0); + render(map,image,1.0,0,0); mapnik::save_to_file(image,filename,format); } } @@ -213,7 +213,7 @@ void render_to_file2(const mapnik::Map& map,const std::string& filename) else { mapnik::image_32 image(map.getWidth(),map.getHeight()); - render(map,image,0,0); + render(map,image,1.0,0,0); mapnik::save_to_file(image,filename); } }