r17374 by fschmid - Fixed incorrect pattern translation.
scribus-commit
scribus-commit at lists.scribus.net
Mon Mar 12 22:44:10 UTC 2012
Author: fschmid
Date: Mon Mar 12 22:44:10 2012
New Revision: 17374
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17374
Log:
Fixed incorrect pattern translation.
Modified:
trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
Modified: trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17374&path=/trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp Mon Mar 12 22:44:10 2012
@@ -176,6 +176,9 @@
m_doc->DoDrawing = false;
pat.width = ite->width();
pat.height = ite->height();
+ ite->gXpos = 0;
+ ite->gYpos = 0;
+ ite->setXYPos(ite->gXpos, ite->gYpos, true);
pat.items.append(ite);
m_doc->Items->removeAll(ite);
QString id = QString("Pattern_from_PDF_%1S").arg(m_doc->docPatterns.count() + 1);
@@ -953,6 +956,9 @@
pat.height = ite->height();
pwidth = ite->width();
pheight = ite->height();
+ ite->gXpos = 0;
+ ite->gYpos = 0;
+ ite->setXYPos(ite->gXpos, ite->gYpos, true);
pat.items.append(ite);
m_doc->Items->removeAll(ite);
id = QString("Pattern_from_PDF_%1").arg(m_doc->docPatterns.count() + 1);
@@ -1855,6 +1861,9 @@
m_doc->DoDrawing = false;
pat.width = ite->width();
pat.height = ite->height();
+ ite->gXpos = 0;
+ ite->gYpos = 0;
+ ite->setXYPos(ite->gXpos, ite->gYpos, true);
pat.items.append(ite);
m_doc->Items->removeAll(ite);
QString id = QString("Pattern_from_PDF_%1T").arg(m_doc->docPatterns.count() + 1);
More information about the scribus-commit
mailing list