r18971 by jghali - #12176: Open Polygon tool crashes Scribus in determined condition
scribus-commit
scribus-commit at lists.scribus.net
Mon Mar 31 23:35:27 UTC 2014
Author: jghali
Date: Mon Mar 31 23:35:27 2014
New Revision: 18971
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18971
Log:
#12176: Open Polygon tool crashes Scribus in determined condition
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=18971&path=/branches/Version14x/Scribus/scribus/canvasmode_nodeedit.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/canvasmode_nodeedit.cpp (original)
+++ branches/Version14x/Scribus/scribus/canvasmode_nodeedit.cpp Mon Mar 31 23:35:27 2014
@@ -507,7 +507,7 @@
{
if (!m_doc->nodeEdit.EdPoints)
return;
- if (!m_doc->nodeEdit.hasNodeSelected()) // We don't have a Point, try to add one onto the current curve segment
+ if ((!m_doc->nodeEdit.hasNodeSelected()) && (m_doc->nodeEdit.ClRe2 != -1)) // We don't have a Point, try to add one onto the current curve segment
{
bool foundP = false;
uint seg = 0;
More information about the scribus-commit
mailing list