Fix saving of polygons' transforms

preferencesAboutTextFull
Craig Watson 8 years ago
parent 37790b77f9
commit 1fd2545692
  1. 2
      src/adaptors/UBSvgSubsetAdaptor.cpp

@ -1534,7 +1534,7 @@ void UBSvgSubsetAdaptor::UBSvgSubsetWriter::polygonItemToSvgPolygon(UBGraphicsPo
QString points = pointsToSvgPointsAttribute(polygon);
mXmlWriter.writeAttribute("points", points);
mXmlWriter.writeAttribute("transform",toSvgTransform(polygonItem->sceneMatrix()));
mXmlWriter.writeAttribute("transform",toSvgTransform(polygonItem->matrix()));
mXmlWriter.writeAttribute("fill", polygonItem->brush().color().name());
qreal alpha = polygonItem->brush().color().alphaF();

Loading…
Cancel
Save