r22800 by jghali - #15532: SVG imported into masterpage shows "out of bounds" in pre flight

scribus-commit scribus-commit at lists.scribus.net
Sun Jan 13 12:39:25 UTC 2019


Author: jghali
Date: Sun Jan 13 12:39:25 2019
New Revision: 22800

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22800
Log:
#15532: SVG imported into masterpage shows "out of bounds" in pre flight

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22800&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp	(original)
+++ trunk/Scribus/scribus/scribusdoc.cpp	Sun Jan 13 12:39:25 2019
@@ -14101,7 +14101,10 @@
 	if ((currItem->xPos() != oldx) || (currItem->yPos() != oldy))
 		retw = true;
 	setRedrawBounding(currItem);
-	currItem->OwnPage = OnPage(currItem);
+	if (currItem->isGroup())
+		GroupOnPage(currItem);
+	else
+		currItem->OwnPage = OnPage(currItem);
 	return retw;
 }
 




More information about the scribus-commit mailing list