r14934 by fschmid - XARA Importer: Fixed incorrect group transparency.

scribus-commit scribus-commit at lists.scribus.net
Thu Mar 25 22:50:41 CET 2010


Revision: 14934
Author: fschmid
Date: 2010-03-25T21:44:56.556716Z
Commit message: XARA Importer: Fixed incorrect group transparency.

Changeset: 
M  /trunk/Scribus/scribus/plugins/import/xar/importxar.cpp

Diffs:
Index: scribus/plugins/import/xar/importxar.cpp
===================================================================
--- scribus/plugins/import/xar/importxar.cpp	(revision 14933)
+++ scribus/plugins/import/xar/importxar.cpp	(revision 14934)
@@ -2708,6 +2708,7 @@
 	gg.isBrush = true;
 	int z = m_Doc->itemAdd(PageItem::Polygon, PageItem::Rectangle, baseX, baseY, 10, 10, 0, CommonStrings::None, CommonStrings::None, true);
 	PageItem *neu = m_Doc->Items->at(z);
+	neu->isGroupControl = true;
 	gg.groupItem = neu;
 	Elements.append(neu);
 	XarStyle *gc = m_gc.top();
@@ -2725,6 +2726,7 @@
 	gg.isBrush = false;
 	int z = m_Doc->itemAdd(PageItem::Polygon, PageItem::Rectangle, baseX, baseY, 10, 10, 0, CommonStrings::None, CommonStrings::None, true);
 	PageItem *neu = m_Doc->Items->at(z);
+	neu->isGroupControl = true;
 	gg.groupItem = neu;
 	Elements.append(neu);
 	XarStyle *gc = m_gc.top();
@@ -2742,6 +2744,7 @@
 	gg.isBrush = false;
 	int z = m_Doc->itemAdd(PageItem::Polygon, PageItem::Rectangle, baseX, baseY, 10, 10, 0, CommonStrings::None, CommonStrings::None, true);
 	PageItem *neu = m_Doc->Items->at(z);
+	neu->isGroupControl = true;
 	gg.groupItem = neu;
 	Elements.append(neu);
 	XarStyle *gc = m_gc.top();




More information about the scribus-commit mailing list