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

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


Revision: 14434
Author: jghali
Date: 2009-12-19T01:13:57.776495Z
Commit message: #8379: render frames with non-auto resolution preview incorrectly

Changeset: 
M  /branches/Version135/Scribus/scribus/scribusdoc.cpp

Diffs:
Index: scribus/scribusdoc.cpp
===================================================================
--- scribus/scribusdoc.cpp	(revision 14433)
+++ scribus/scribusdoc.cpp	(revision 14434)
@@ -6726,7 +6726,10 @@
 			bool fvo = currItem->imageFlippedV();
 			if (applyNewRes)
 				currItem->pixm.imgInfo.lowResType = toolSettings.lowResType;
-			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();
@@ -6745,7 +6748,10 @@
 			bool fvo = currItem->imageFlippedV();
 			if (applyNewRes)
 				currItem->pixm.imgInfo.lowResType = toolSettings.lowResType;
-			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();
@@ -6764,7 +6770,10 @@
 			bool fvo = currItem->imageFlippedV();
 			if (applyNewRes)
 				currItem->pixm.imgInfo.lowResType = toolSettings.lowResType;
-			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();
@@ -6786,7 +6795,10 @@
 				bool fvo = currItem->imageFlippedV();
 				if (applyNewRes)
 					currItem->pixm.imgInfo.lowResType = toolSettings.lowResType;
-				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