fixed conversion of PathSymProto into graphics::Pen::Info

This commit is contained in:
rachytski 2013-01-15 20:20:21 +03:00 committed by Alex Zolotarev
parent d95863bfcd
commit b14b56ec5a

View file

@ -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())