mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
+ only log transform evaluation if trans_expr is not null
This commit is contained in:
parent
ae176d1d19
commit
a63df933d5
@ -30,15 +30,12 @@ namespace mapnik {
|
||||
void evaluate_transform(agg::trans_affine& tr, Feature const& feature,
|
||||
transform_list_ptr const& trans_expr)
|
||||
{
|
||||
#ifdef MAPNIK_LOG
|
||||
MAPNIK_LOG_DEBUG(transform) << "transform: evaluate "
|
||||
<< (trans_expr
|
||||
? transform_processor_type::to_string(*trans_expr)
|
||||
: std::string("null"));
|
||||
#endif
|
||||
|
||||
if (trans_expr)
|
||||
{
|
||||
#ifdef MAPNIK_LOG
|
||||
MAPNIK_LOG_DEBUG(transform) << "transform: evaluate "
|
||||
<< transform_processor_type::to_string(*trans_expr);
|
||||
#endif
|
||||
transform_processor_type::evaluate(tr, feature, *trans_expr);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user