src/actionsEdit.cc

changeset 928
0fef7bb7b7a2
parent 927
409b82a4765e
child 929
66e8453e1768
--- a/src/actionsEdit.cc	Sat Feb 21 18:51:33 2015 +0200
+++ b/src/actionsEdit.cc	Sat Feb 21 19:35:43 2015 +0200
@@ -293,33 +293,6 @@
 
 // =============================================================================
 //
-void MainWindow::slot_actionCornerVerts()
-{
-	int num = 0;
-
-	for (LDObjectPtr obj : Selection())
-	{
-		if (obj->numVertices() < 2)
-			continue;
-
-		int ln = obj->lineNumber();
-
-		for (int i = 0; i < obj->numVertices(); ++i)
-		{
-			QSharedPointer<LDVertex> vert (LDSpawn<LDVertex>());
-			vert->pos = obj->vertex (i);
-			vert->setColor (obj->color());
-			CurrentDocument()->insertObj (++ln, vert);
-			++num;
-		}
-	}
-
-	print (tr ("Added %1 vertices"), num);
-	refresh();
-}
-
-// =============================================================================
-//
 static void MoveSelection (const bool up)
 {
 	LDObjectList objs = Selection();

mercurial