Avoid adding the same text to detector twice.
This commit is contained in:
parent
c25e8c7d94
commit
cc547385e6
1 changed files with 4 additions and 1 deletions
|
@ -62,7 +62,10 @@ text_placement_info_ptr text_symbolizer_helper<FaceManagerT, DetectorT>::get_lin
|
|||
if (!placement_->placements.empty())
|
||||
{
|
||||
//Found a placement
|
||||
finder.update_detector();
|
||||
if (points_on_line_)
|
||||
{
|
||||
finder.update_detector();
|
||||
}
|
||||
geo_itr_ = geometries_to_process_.erase(geo_itr_);
|
||||
if (writer_.first) writer_.first->add_text(
|
||||
*placement_, font_manager_,
|
||||
|
|
Loading…
Reference in a new issue