r14435 by jghali - #8379: render frames with non-auto resolution preview incorrectly

scribus-commit scribus-commit at lists.scribus.net
Sat Dec 19 13:55:44 CET 2009


Revision: 14435
Author: jghali
Date: 2009-12-19T01:14:25.446573Z
Commit message: #8379: render frames with non-auto resolution preview incorrectly

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

Diffs:
Index: scribus/scribusdoc.cpp
===================================================================
--- scribus/scribusdoc.cpp	(revision 14434)
+++ scribus/scribusdoc.cpp	(revision 14435)
@@ -6957,7 +6957,10 @@
 			bool fvo = currItem->imageFlippedV();
 			if (applyNewRes)
 				currItem->pixm.imgInfo.lowResType = itemToolPrefs.imageLowResType;
-			loadPict(currItem->Pfile, currItem, true);
+			if (currItem->asLatexFrame())
+				currItem->asLatexFrame()->rerunApplication(false);
+			else
+				loadPict(currItem->Pfile, currItem, true);
 			currItem->setImageFlippedH(fho);
 			currItem->setImageFlippedV(fvo);
 			currItem->AdjustPictScale();
@@ -6976,7 +6979,10 @@
 			bool fvo = currItem->imageFlippedV();
 			if (applyNewRes)
 				currItem->pixm.imgInfo.lowResType = itemToolPrefs.imageLowResType;
-			loadPict(currItem->Pfile, currItem, true);
+			if (currItem->asLatexFrame())
+				currItem->asLatexFrame()->rerunApplication(false);
+			else
+				loadPict(currItem->Pfile, currItem, true);
 			currItem->setImageFlippedH(fho);
 			currItem->setImageFlippedV(fvo);
 			currItem->AdjustPictScale();
@@ -6995,7 +7001,10 @@
 			bool fvo = currItem->imageFlippedV();
 			if (applyNewRes)
 				currItem->pixm.imgInfo.lowResType = itemToolPrefs.imageLowResType;
-			loadPict(currItem->Pfile, currItem, true);
+			if (currItem->asLatexFrame())
+				currItem->asLatexFrame()->rerunApplication(false);
+			else
+				loadPict(currItem->Pfile, currItem, true);
 			currItem->setImageFlippedH(fho);
 			currItem->setImageFlippedV(fvo);
 			currItem->AdjustPictScale();
@@ -7017,7 +7026,10 @@
 				bool fvo = currItem->imageFlippedV();
 				if (applyNewRes)
 					currItem->pixm.imgInfo.lowResType = itemToolPrefs.imageLowResType;
-				loadPict(currItem->Pfile, currItem, true);
+				if (currItem->asLatexFrame())
+					currItem->asLatexFrame()->rerunApplication(false);
+				else
+					loadPict(currItem->Pfile, currItem, true);
 				currItem->setImageFlippedH(fho);
 				currItem->setImageFlippedV(fvo);
 				currItem->AdjustPictScale();




More information about the scribus-commit mailing list