r19454 by jghali - #12621: It is possible to create Bezier Curves with only 1 node
scribus-commit
scribus-commit at lists.scribus.net
Thu Aug 28 18:03:58 UTC 2014
Author: jghali
Date: Thu Aug 28 18:03:58 2014
New Revision: 19454
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19454
Log:
#12621: It is possible to create Bezier Curves with only 1 node
Modified:
branches/Version14x/Scribus/scribus/canvasmode_nodeedit.cpp
Modified: branches/Version14x/Scribus/scribus/canvasmode_nodeedit.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19454&path=/branches/Version14x/Scribus/scribus/canvasmode_nodeedit.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/canvasmode_nodeedit.cpp (original)
+++ branches/Version14x/Scribus/scribus/canvasmode_nodeedit.cpp Thu Aug 28 18:03:58 2014
@@ -745,6 +745,11 @@
cli.putPoints(cli.size(), Clip.size() - EndInd, Clip, EndInd);
}
}
+ else if (m_doc->nodeEdit.ClRe == static_cast<int>(EndInd - 2))
+ {
+ cli.putPoints(0, m_doc->nodeEdit.ClRe - 2, Clip);
+ cli.putPoints(cli.size(), Clip.size()-(m_doc->nodeEdit.ClRe + 2), Clip, m_doc->nodeEdit.ClRe+2);
+ }
else
{
if (m_doc->nodeEdit.ClRe != 0)
More information about the scribus-commit
mailing list