r21424 by craig -

scribus-commit scribus-commit at lists.scribus.net
Sat Jul 30 12:38:55 UTC 2016


Author: craig
Date: Sat Jul 30 12:38:55 2016
New Revision: 21424

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21424
Log:
Fixes for rotation from Fahad

Modified:
    trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp

Modified: trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21424&path=/trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp	(original)
+++ trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp	Sat Jul 30 12:38:55 2016
@@ -2644,7 +2644,7 @@
 								  FPoint tp2(getMinClipF(&Coords));
 								  Coords.translate(-tp2.x(), -tp2.y());
 								  ite->PoLine = Coords.copy();
-								  int rm = m_Doc->setRotationMode();
+								  int rm = m_Doc->rotationMode();
 								  m_Doc->setRotationMode(2);
 								  m_Doc->rotateItem(-rot, ite);
 								  m_Doc->setRotationMode(rm);
@@ -2792,7 +2792,7 @@
 									  FPoint tp2(getMinClipF(&Coords));
 									  Coords.translate(-tp2.x(), -tp2.y());
 									  ite->PoLine = Coords.copy();
-									  int rm = m_Doc->setRotationMode();
+									  int rm = m_Doc->rotationMode();
 									  m_Doc->setRotationMode(2);
 									  m_Doc->rotateItem(-rot, ite);
 									  m_Doc->setRotationMode(rm);
@@ -2927,7 +2927,7 @@
 									FPoint tp2(getMinClipF(&Coords));
 									Coords.translate(-tp2.x(), -tp2.y());
 									ite->PoLine = Coords.copy();
-									int rm = m_Doc->setRotationMode();
+									int rm = m_Doc->rotationMode();
 									m_Doc->setRotationMode(2);
 									m_Doc->rotateItem(-rot, ite);
 									m_Doc->setRotationMode(rm);
@@ -2990,7 +2990,7 @@
 		applyShadow(ite);
 		if (rot != 0)
 		{
-			int rm = m_Doc->setRotationMode();
+			int rm = m_Doc->rotationMode();
 			m_Doc->setRotationMode(2);
 			m_Doc->rotateItem(rot, ite);
 			m_Doc->setRotationMode(rm);




More information about the scribus-commit mailing list