r17402 by jghali - #10642 : text frames on master pages flow around frames on other master pages
scribus-commit
scribus-commit at lists.scribus.net
Wed Mar 28 23:16:48 UTC 2012
Author: jghali
Date: Wed Mar 28 23:16:48 2012
New Revision: 17402
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17402
Log:
#10642 : text frames on master pages flow around frames on other master pages
Modified:
branches/Version14x/Scribus/scribus/pageitem_textframe.cpp
Modified: branches/Version14x/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17402&path=/branches/Version14x/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/pageitem_textframe.cpp (original)
+++ branches/Version14x/Scribus/scribus/pageitem_textframe.cpp Wed Mar 28 23:16:48 2012
@@ -147,6 +147,9 @@
for (int a = 0; a < m_Doc->MasterItems.count(); ++a)
{
docItem = m_Doc->MasterItems.at(a);
+ // #10642 : masterpage items interact only with items placed on same masterpage
+ if (docItem->OnMasterPage != OnMasterPage)
+ continue;
LayerLevItem = m_Doc->layerLevelFromNumber(docItem->LayerNr);
if (((docItem->ItemNr > ItemNr) && (docItem->LayerNr == LayerNr)) || (LayerLevItem > LayerLev && m_Doc->layerFlow(docItem->LayerNr)))
{
More information about the scribus-commit
mailing list