avoid double application of scale_factor - refs #1926
|
@ -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
|
||||
|
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.2 KiB |