r16243 by fschmid - Fixed needless large groups when importing eps files.

scribus-commit scribus-commit at lists.scribus.net
Tue Jan 11 21:31:10 CET 2011


Author: fschmid
Date: Tue Jan 11 20:31:09 2011
New Revision: 16243

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16243
Log:
Fixed needless large groups when importing eps files.

Modified:
    trunk/Scribus/scribus/plugins/import/ps/importps.cpp

Modified: trunk/Scribus/scribus/plugins/import/ps/importps.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16243&path=/trunk/Scribus/scribus/plugins/import/ps/importps.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/ps/importps.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/ps/importps.cpp Tue Jan 11 20:31:09 2011
@@ -626,7 +626,7 @@
 						FPoint wh = getMaxClipF(&ite->PoLine);
 						ite->setWidthHeight(wh.x(),wh.y());
 						ite->Clip = FlattenPath(ite->PoLine, ite->Segments);
-						m_Doc->AdjustItemSize(ite);
+						m_Doc->AdjustItemSize(ite, true);
 						ite->setItemName( tr("Group%1").arg(m_Doc->GroupCounter));
 						ite->AutoName = false;
 						ite->setTextFlowMode(PageItem::TextFlowDisabled);
@@ -655,7 +655,7 @@
 							FPoint wh = getMaxClipF(&ite->PoLine);
 							ite->setWidthHeight(wh.x(),wh.y());
 							ite->Clip = FlattenPath(ite->PoLine, ite->Segments);
-							m_Doc->AdjustItemSize(ite);
+							m_Doc->AdjustItemSize(ite, true);
 							ite->setItemName( tr("Group%1").arg(m_Doc->GroupCounter));
 							ite->AutoName = false;
 							ite->setTextFlowMode(PageItem::TextFlowDisabled);




More information about the scribus-commit mailing list