forked from organicmaps/organicmaps
fixed conversion of PathSymProto into graphics::Pen::Info
This commit is contained in:
parent
d95863bfcd
commit
b14b56ec5a
1 changed files with 4 additions and 2 deletions
|
@ -50,9 +50,11 @@ void ConvertStyle(LineDefProto const * pSrc, double scale, graphics::Pen::Info &
|
|||
{
|
||||
PathSymProto const & ps = pSrc->pathsym();
|
||||
|
||||
dest.m_step = ps.step();
|
||||
dest.m_step = ps.step() * scale;
|
||||
dest.m_icon.m_name = ps.name();
|
||||
dest.m_offset = ps.offset();
|
||||
|
||||
if (ps.has_offset())
|
||||
dest.m_offset = ps.offset() * scale;
|
||||
}
|
||||
|
||||
if (pSrc->has_join())
|
||||
|
|
Loading…
Add table
Reference in a new issue