src/gui_actions.cpp

changeset 251
c4b96bc41298
parent 250
6e80f038e8df
child 252
3f9067022d74
--- a/src/gui_actions.cpp	Fri May 24 04:34:20 2013 +0300
+++ b/src/gui_actions.cpp	Fri May 24 15:23:56 2013 +0300
@@ -310,9 +310,9 @@
 		return;
 	}
 	
-	std::vector<LDObject*> historyCopies;
-	std::vector<ulong> historyIndices;
-	std::vector<LDObject*> objs = loadFileContents (fp, null);
+	vector<LDObject*> historyCopies;
+	vector<ulong> historyIndices;
+	vector<LDObject*> objs = loadFileContents (fp, null);
 	
 	g_win->sel ().clear ();
 	
@@ -342,8 +342,8 @@
 	QVBoxLayout* const layout = new QVBoxLayout;
 	QTextEdit* const te_edit = new QTextEdit;
 	QDialogButtonBox* const bbx_buttons = new QDialogButtonBox (QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
-	std::vector<LDObject*> historyCopies;
-	std::vector<ulong> historyIndices;
+	vector<LDObject*> historyCopies;
+	vector<ulong> historyIndices;
 	
 	layout->addWidget (te_edit);
 	layout->addWidget (bbx_buttons);
@@ -430,11 +430,11 @@
 
 // =========================================================================================================================================
 MAKE_ACTION (modeSelect, "Select Mode", "mode-select", "Select objects from the camera view.", CTRL (1)) {
-	g_win->R ()->setEditMode (GL::Select);
+	g_win->R ()->setEditMode (Select);
 }
 
 MAKE_ACTION (modeDraw, "Draw Mode", "mode-draw", "Draw objects into the camera view.", CTRL (2)) {
-	g_win->R ()->setEditMode (GL::Draw);
+	g_win->R ()->setEditMode (Draw);
 }
 
 // =========================================================================================================================================

mercurial