author | unc0rr |
Wed, 30 May 2012 19:01:19 +0400 | |
changeset 7148 | c7ee9592c9a1 |
parent 7146 | a822413207c9 (diff) |
parent 7147 | 11b7b12e2b85 (current diff) |
child 7150 | fba3b14ff746 |
child 7151 | ec15d9e1a7e3 |
--- a/QTfrontend/drawmapscene.cpp Wed May 30 18:00:29 2012 +0400 +++ b/QTfrontend/drawmapscene.cpp Wed May 30 19:01:19 2012 +0400 @@ -271,7 +271,8 @@ quint8 penWidth = flags & 0x3f; m_pen.setWidth(deserializePenWidth(penWidth)); - if(flags & 0x40) + params.erasing = flags & 0x40; + if(params.erasing) m_pen.setBrush(m_eraser); else m_pen.setBrush(m_brush);