r14750 by fschmid - ScPreview: don't scale groups with textframes.

scribus-commit scribus-commit at lists.scribus.net
Wed Feb 17 14:11:47 CET 2010


Revision: 14750
Author: fschmid
Date: 2010-02-17T13:09:10.274427Z
Commit message: ScPreview: don't scale groups with textframes.

Changeset: 
M  /trunk/Scribus/scribus/scpreview.cpp

Diffs:
Index: scribus/scpreview.cpp
===================================================================
--- scribus/scpreview.cpp	(revision 14749)
+++ scribus/scpreview.cpp	(revision 14750)
@@ -121,8 +121,8 @@
 					tmpSel->setGroupRect();
 					double xs = tmpSel->width();
 					double ys = tmpSel->height();
-					double sc = 60.0 / qMax(xs, ys);
-					m_Doc->scaleGroup(sc, sc, true, tmpSel);
+				//	double sc = 60.0 / qMax(xs, ys);
+				//	m_Doc->scaleGroup(sc, sc, true, tmpSel);
 					QImage tmpImage = Elements.at(0)->DrawObj_toImage();
 					tmpImage.setText("XSize", QString("%1").arg(xs));
 					tmpImage.setText("YSize", QString("%1").arg(ys));




More information about the scribus-commit mailing list