Correctly initialize placement_ member.
This commit is contained in:
parent
4e3e5cb0b0
commit
3a16d2749a
1 changed files with 1 additions and 1 deletions
|
@ -40,11 +40,11 @@ text_symbolizer_helper<FaceManagerT, DetectorT>::text_symbolizer_helper(const te
|
||||||
dims_(0, 0, width, height),
|
dims_(0, 0, width, height),
|
||||||
query_extent_(query_extent),
|
query_extent_(query_extent),
|
||||||
points_on_line_(false),
|
points_on_line_(false),
|
||||||
|
placement_(sym_.get_placement_options()->get_placement_info(scale_factor)),
|
||||||
finder_(feature, detector, dims_, placement_, font_manager, scale_factor)
|
finder_(feature, detector, dims_, placement_, font_manager, scale_factor)
|
||||||
{
|
{
|
||||||
initialize_geometries();
|
initialize_geometries();
|
||||||
if (!geometries_to_process_.size()) return;
|
if (!geometries_to_process_.size()) return;
|
||||||
placement_ = sym_.get_placement_options()->get_placement_info(scale_factor);
|
|
||||||
finder_.next_position();
|
finder_.next_position();
|
||||||
initialize_points();
|
initialize_points();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue