src/actionsEdit.cpp

changeset 959
737245eee433
parent 958
1dc890c73e01
child 960
9fa260f4386e
--- a/src/actionsEdit.cpp	Sun Aug 30 04:21:44 2015 +0300
+++ b/src/actionsEdit.cpp	Sun Aug 30 04:41:54 2015 +0300
@@ -294,33 +294,6 @@
 
 // =============================================================================
 //
-void MainWindow::slot_actionCornerVerts()
-{
-	int num = 0;
-
-	for (LDObject* obj : Selection())
-	{
-		if (obj->numVertices() < 2)
-			continue;
-
-		int ln = obj->lineNumber();
-
-		for (int i = 0; i < obj->numVertices(); ++i)
-		{
-			LDVertex* vertex = new LDVertex();
-			vertex->pos = obj->vertex (i);
-			vertex->setColor (obj->color());
-			CurrentDocument()->insertObj (++ln, vertex);
-			++num;
-		}
-	}
-
-	print (tr ("Added %1 vertices"), num);
-	refresh();
-}
-
-// =============================================================================
-//
 static void MoveSelection (MainWindow* win, bool up)
 {
 	LDObjectList objs = Selection();

mercurial