r15042 by fschmid - Mesh Gradient Editor: improved moving of points.

scribus-commit scribus-commit at lists.scribus.net
Mon May 3 19:20:57 CEST 2010


Revision: 15042
Author: fschmid
Date: 2010-05-03T17:19:22.475764Z
Commit message: Mesh Gradient Editor: improved moving of points.

Changeset: 
M  /trunk/Scribus/scribus/canvasmode_editmeshgradient.cpp

Diffs:
Index: scribus/canvasmode_editmeshgradient.cpp
===================================================================
--- scribus/canvasmode_editmeshgradient.cpp	(revision 15041)
+++ scribus/canvasmode_editmeshgradient.cpp	(revision 15042)
@@ -760,8 +760,6 @@
 	}
 	else
 	{
-		if (!(m->modifiers() & Qt::ShiftModifier))
-			selectedMeshPoints.clear();
 		bool isSelected = false;
 		for (int se = 0; se < selectedMeshPoints.count(); se++)
 		{
@@ -771,6 +769,8 @@
 				break;
 			}
 		}
+		if ((!(m->modifiers() & Qt::ShiftModifier)) && (!isSelected))
+			selectedMeshPoints.clear();
 		if (!isSelected)
 			selectedMeshPoints.append(selPoint);
 	}




More information about the scribus-commit mailing list