Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 13177 → Rev 13283

/branches/Version133x/Scribus/scribus/pslib.cpp
1649,7 → 1649,7
}
}
}
if (c->startArrowIndex() != 0)
if ((c->startArrowIndex() != 0) && (c->lineWidth() != 0.0) && (c->lineColor() != CommonStrings::None))
{
QWMatrix arrowTrans;
FPointArray arrow = (*Doc->arrowStyles.at(c->startArrowIndex()-1)).points.copy();
1664,7 → 1664,7
PS_closepath();
putColor(c->lineColor(), c->lineShade(), true);
}
if (c->endArrowIndex() != 0)
if ((c->endArrowIndex() != 0) && (c->lineWidth() != 0.0) && (c->lineColor() != CommonStrings::None))
{
QWMatrix arrowTrans;
FPointArray arrow = (*Doc->arrowStyles.at(c->endArrowIndex()-1)).points.copy();
1760,7 → 1760,7
}
}
}
if (c->startArrowIndex() != 0)
if ((c->startArrowIndex() != 0) && (c->lineWidth() != 0.0) && (c->lineColor() != CommonStrings::None))
{
FPoint Start = c->PoLine.point(0);
for (uint xx = 1; xx < c->PoLine.size(); xx += 2)
1785,7 → 1785,7
}
}
}
if (c->endArrowIndex() != 0)
if ((c->endArrowIndex() != 0) && (c->lineWidth() != 0.0) && (c->lineColor() != CommonStrings::None))
{
FPoint End = c->PoLine.point(c->PoLine.size()-2);
for (uint xx = c->PoLine.size()-1; xx > 0; xx -= 2)