r20703 by fschmid -

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 23 11:33:34 UTC 2016


Author: fschmid
Date: Sat Jan 23 11:33:34 2016
New Revision: 20703

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20703
Log:
Fixed Bug #11966: Background in VDX files interpreted as black

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=20703&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 Jan 23 11:33:34 2016
@@ -588,6 +588,11 @@
 				Elements->removeAll(gElements.at(dre));
 				if (gElements.at(dre)->hasSoftShadow())
 					groupClip = false;
+				if (gElements.at(dre)->isGroup())
+				{
+					if (!gElements.at(dre)->groupClipping())
+						groupClip = false;
+				}
 			}
 			ite = m_Doc->groupObjectsSelection(tmpSel);
 			ite->setGroupClipping(groupClip);
@@ -1354,7 +1359,7 @@
 	actTextItem = NULL;
 	lineSpSet = false;
 	lineSpIsPT = false;
-	if ((fileType == "pmd") || (fileType == "pm5") || (fileType == "p65"))
+//	if ((fileType == "pmd") || (fileType == "pm5") || (fileType == "p65"))
 		setStyle(propList);
 	if (propList["svg:x"] && propList["svg:y"] && propList["svg:width"] && propList["svg:height"])
 	{
@@ -3581,7 +3586,7 @@
 		ite->setSoftShadowColor(shadowColor);
 		ite->setSoftShadowXOffset(xof);
 		ite->setSoftShadowYOffset(yof);
-		ite->setSoftShadowBlurRadius(5);
+		ite->setSoftShadowBlurRadius(0);
 		ite->setSoftShadowShade(100);
 		ite->setSoftShadowOpacity(shadowTrans);
 		ite->setSoftShadowBlendMode(0);




More information about the scribus-commit mailing list