@ -1145,11 +1145,6 @@ bool UBSvgSubsetAdaptor::UBSvgSubsetWriter::persistScene(UBDocumentProxy* proxy,
mXmlWriter . writeStartElement ( " g " ) ;
mXmlWriter . writeStartElement ( " g " ) ;
openStroke = currentStroke ;
openStroke = currentStroke ;
QMatrix matrix = item - > sceneMatrix ( ) ;
if ( ! matrix . isIdentity ( ) )
mXmlWriter . writeAttribute ( " transform " , toSvgTransform ( matrix ) ) ;
UBGraphicsStroke * stroke = dynamic_cast < UBGraphicsStroke * > ( currentStroke ) ;
UBGraphicsStroke * stroke = dynamic_cast < UBGraphicsStroke * > ( currentStroke ) ;
if ( stroke )
if ( stroke )
@ -1170,6 +1165,10 @@ bool UBSvgSubsetAdaptor::UBSvgSubsetWriter::persistScene(UBDocumentProxy* proxy,
mXmlWriter . writeAttribute ( UBSettings : : uniboardDocumentNamespaceUri , " uuid " , UBStringUtils : : toCanonicalUuid ( sg - > uuid ( ) ) ) ;
mXmlWriter . writeAttribute ( UBSettings : : uniboardDocumentNamespaceUri , " uuid " , UBStringUtils : : toCanonicalUuid ( sg - > uuid ( ) ) ) ;
QMatrix matrix = sg - > sceneMatrix ( ) ;
if ( ! matrix . isIdentity ( ) )
mXmlWriter . writeAttribute ( " transform " , toSvgTransform ( matrix ) ) ;
qDebug ( ) < < " Attributes written " ;
qDebug ( ) < < " Attributes written " ;
groupHoldsInfo = true ;
groupHoldsInfo = true ;