src/editmodes/abstractEditMode.cc

changeset 874
ba75c789667e
parent 866
4951b737f8cb
child 875
ce8e9b37d44f
--- a/src/editmodes/abstractEditMode.cc	Mon Sep 01 10:37:42 2014 +0300
+++ b/src/editmodes/abstractEditMode.cc	Tue Sep 02 13:34:01 2014 +0300
@@ -24,6 +24,7 @@
 #include "rectangleMode.h"
 #include "circleMode.h"
 #include "magicWandMode.h"
+#include "lineLoopMode.h"
 #include "../mainWindow.h"
 #include "../glRenderer.h"
 
@@ -44,6 +45,7 @@
 		case EditModeType::Rectangle: return new RectangleMode (renderer);
 		case EditModeType::Circle: return new CircleMode (renderer);
 		case EditModeType::MagicWand: return new MagicWandMode (renderer);
+		case EditModeType::LineLoop: return new LineLoopMode (renderer);
 	}
 
 	throw std::logic_error ("bad type given to AbstractEditMode::createByType");

mercurial