r16749 by fschmid - Fixed Bug 10144: "Shapes are sometimes cut off after grouping
scribus-commit
scribus-commit at lists.scribus.net
Tue Aug 2 22:51:15 UTC 2011
Author: fschmid
Date: Tue Aug 2 22:51:15 2011
New Revision: 16749
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16749
Log:
Fixed Bug 10144: "Shapes are sometimes cut off after grouping
Modified:
branches/Version135/Scribus/scribus/pageitem.cpp
Modified: branches/Version135/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16749&path=/branches/Version135/Scribus/scribus/pageitem.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/pageitem.cpp (original)
+++ branches/Version135/Scribus/scribus/pageitem.cpp Tue Aug 2 22:51:15 2011
@@ -4847,7 +4847,12 @@
if (NamedLStyle.isEmpty())
{
if (lineColor() != CommonStrings::None)
- extraSpace = m_lineWidth / 2.0;
+ {
+ if ((itemType() == Line) && (PLineEnd == Qt::FlatCap))
+ extraSpace = 0.0;
+ else
+ extraSpace = m_lineWidth / 2.0;
+ }
}
else
{
More information about the scribus-commit
mailing list