From 28b02737cd8385e8523556ce7167bbc8efa62a7e Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Tue, 1 May 2012 16:52:19 +0100 Subject: [PATCH] fix transform serialization for markers_symbolizer --- src/save_map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/save_map.cpp b/src/save_map.cpp index f66c1f30f..17f273205 100644 --- a/src/save_map.cpp +++ b/src/save_map.cpp @@ -307,10 +307,10 @@ public: { set_attr( sym_node, "placement", sym.get_marker_placement() ); } - std::string tr_str = sym.get_transform_string(); + std::string tr_str = sym.get_image_transform_string(); if (tr_str != "matrix(1, 0, 0, 1, 0, 0)" || explicit_defaults_ ) { - set_attr( sym_node, "transform", tr_str ); + set_attr( sym_node, "image-transform", tr_str ); } const stroke & strk = sym.get_stroke();