diff options
author | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-06-26 12:53:26 (GMT) |
---|---|---|
committer | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-06-26 12:53:26 (GMT) |
commit | dc04410eb678b8db257dc04b04662f974f6b3b83 (patch) | |
tree | b14e8249f7f9bea1d463dad1b68c1538b5576b6f /Swiften/Parser | |
parent | 60076b8e5dc557716e82d7588ff9a99247e485bf (diff) | |
download | swift-contrib-dc04410eb678b8db257dc04b04662f974f6b3b83.zip swift-contrib-dc04410eb678b8db257dc04b04662f974f6b3b83.tar.bz2 |
Fixed duplicating of polygons
Diffstat (limited to 'Swiften/Parser')
-rw-r--r-- | Swiften/Parser/PayloadParsers/WhiteboardParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Parser/PayloadParsers/WhiteboardParser.cpp b/Swiften/Parser/PayloadParsers/WhiteboardParser.cpp index aca3103..0477988 100644 --- a/Swiften/Parser/PayloadParsers/WhiteboardParser.cpp +++ b/Swiften/Parser/PayloadParsers/WhiteboardParser.cpp @@ -164,7 +164,7 @@ namespace Swift { brushColor.setAlpha(opacityToAlpha(attributes.getAttributeValue("fill-opacity").get_value_or("1"))); whiteboardElement->setPenColor(penColor); whiteboardElement->setBrushColor(brushColor); - + whiteboardElement->setID(attributes.getAttributeValue("id").get_value_or("")); getPayloadInternal()->setElement(whiteboardElement); } else if (element == "text") { int x = 0; |