avoid double application of scale_factor - refs #1926

This commit is contained in:
Dane Springmeyer 2014-02-27 13:20:58 -08:00
parent 0d122c9878
commit 21555b51c2
5 changed files with 1 additions and 1 deletions

View file

@ -176,7 +176,7 @@ struct transform_processor
double eval(expr_node const& x) const
{
mapnik::evaluate<feature_type, value_type> e(feature_);
return boost::apply_visitor(e, x).to_double() * scale_factor_;
return boost::apply_visitor(e, x).to_double();
}
double eval(expr_node const& x, double def) const

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB